Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Map with offline tiles doens't work without internet

Map with offline tiles doens't work without internet

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 360 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Amir Afendin
    wrote on last edited by Amir Afendin
    #1
    Map {
            id: map
    
            anchors.fill: parent
            activeMapType: map.supportedMapTypes[1]
            minimumZoomLevel: 13
            maximumZoomLevel: 19
            zoomLevel: 17
            center: QtPositioning.coordinate(-0.007, 0.007)
            plugin: Plugin {
                name: "osm"
                PluginParameter {
                    name: "osm.mapping.offline.directory"
                    value: "tiles" //offline tiles folder
                }
            }
        }
    

    That gives me a nice working rectangular map(i made my tiles that way). But without network on my PC, after launching the app, my window goes fully grey and doens't show any tiles.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved