maplibre / maplibre-native-qt

MapLibre Native Qt Bindings and Qt Location Plugin
https://maplibre.org/maplibre-native-qt/docs/
38 stars 14 forks source link

Load local map mbtiles file #143

Open Xinyu-HD opened 3 months ago

Xinyu-HD commented 3 months ago

Problem Description I am trying to use maplibre-native-qt to render a local map mbtiles file. I tried to use the widgt example to display a local pre-downloaded mbtiles file. I first divided the mbtiles file into a z/x/y/pbf file structure and then tried to load these files from the local but it didn't work. I guess the file was not loaded successfully. Can you give me some advice and guidance?

Platform information Qt version 6 x64 windows