Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-69309

mapboxgl plugin with additional style URL's throws std::runtime_error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 5.11.1
    • None

    Description

      See attached zip for a minimal failing example.

      An exception is thrown from Style::Impl::addLayer when switching between styles (use 1, 2 and 3 keys on your keyboard to do so) when the map server is unreachable (i.e. not running). Crashes every time.

      Error output:

      [ ERROR ] "{QSGRenderThread}[Setup]: loading style failed: Connection refused"
      terminate called after throwing an instance of 'std::runtime_error'
      what(): Layer QtLocation-12552752 already exists

       

      Attachments

        1. qtmaptest.zip
          2 kB
          Terje Runde

        Activity

          People

            tmpsantos Thiago Marcos P. Santos
            terjerunde Terje Runde
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: