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

Mapbox plugin for QtLocation no longer uses cache when offline

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.9.2, 5.9.3, 5.9.4, 5.9.5, 5.9.6
    • Fix Version/s: 5.9.8, 5.12.3, 5.13.2, 5.14.0 Alpha
    • Labels:
      None
    • Environment:
      Using Ubuntu 18.04.1 but also replicated on Windows 7.
    • Platform/s:
      Linux/X11, Windows
    • Commits:
      0f544f67042490e2a5448616601ed28322214c57 (qt/qtlocation/5.12) bdea5c63a0be0802bcb49b2fd30bac233a8ee50f (qt/qtlocation/5.9)

      Description

      The older mapbox plugin starting at 5.9.2 will no longer use the tile cache when offline. It will just complain it can't connect to the mapbox url.

      To replicate:
      -Use the attached places_map.qml in place of the file with the same name in the Locations "places_map" example. Add your own access token to the plugin parameter.
      -Compile and run "places_map" example using at least Qt 5.9.2 while online. Tiles should appear in the view. Exit "places_map".
      -Go offline and reopen "places_map" example. Tiles will fail to appear from the cache.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            paangele Paolo Angelelli
            Reporter:
            zipkicker Michael Link
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes