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

Can't use Mapbox GL offline mapping

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.9.2, 5.9.3, 5.10, 5.11.0
    • Fix Version/s: 5.11.1, 5.12.0
    • Labels:
      None
    • Environment:
      OSX, qt 5.9.1,5.9.2 (alpha),5.10(Alpha), recompiled plugin using 5.9.2 from the mapbox-gl-native
    • Commits:
      2abeb49cf87d694d5f8916281f8ede12694742c1

      Description

      *Platform: OSX*
      *Mapbox SDK version: latest master branch, 5.1 beta...*

      *Steps to trigger behavior*
      Use: Qt SDK 5.9.2, 5.9.3,5.10
      Or recompile the plugin using the latest branch
      Compile the offline file
      *Expected behavior*
      Open and use the offline database
      *Actual behavior*
      Cached data are displayed, the offline one not.
      Investigate the issue, I found this difference into the database (Top Cached information, bottom information retrieved by offline tool)

      I tried a lot until I found that difference. Using sqlite3 command line everything looks correctly, some standard database utility, the same.
      I hade by mistake the readonly version of a SQLite browser got from apple store ( https://itunes.apple.com/us/app/sqlpro-for-sqlite-read-only/id635299994?mt=12 ) and found that information from SQLite is displayed different.
      Looks like the Qt plugin is using the Qt SQLite library for inserting and reading data and the native MapBox is using is own method.             

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-63013
          # Subject Branch Project Status CR V

            Activity

              People

              • Assignee:
                brunoabinader Bruno de Oliveira Abinader
                Reporter:
                cmgeorge George Calugar
              • Votes:
                2 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes