GeotrekCE / Geotrek-mobile

Cross-platform native app
https://geotrek.fr
BSD 2-Clause "Simplified" License
24 stars 10 forks source link

Offline map zoom level #215

Closed camillemonchicourt closed 5 years ago

camillemonchicourt commented 5 years ago

When I am on the map of a trek that has been downloaded, it uses the offline tiles .

But when at a big zoom level, it only has the global offline tiles and it makes map quality problems : Screenshot_20190509_115510_io rando ecrins

And when moving to another area of the map, it only has global map so the quality is awful :

Screenshot_20190509_115533_io rando ecrins

In V2, when there was no offline tiles somewhere, it displayed online tiles.

Maybe also put online tiles first when available : https://github.com/GeotrekCE/Geotrek-mobile/issues/191

bastyen commented 5 years ago

For now, there is no plan for an online layer on offline mode.

But in your case, the quality of your offline map is not normal. You should look your configuration (min zoom / max zoom of offline map.

camillemonchicourt commented 5 years ago

Offline maps are defined and generated in Geotrek-admon settings. Here is what I have :

MOBILE_TILES_URL = 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png'

Outside of the trek, this is the global offline map which is displayed. And this one is just at large level, which is normal.

bastyen commented 5 years ago

Oh you should not be able to go outside of the trek bounding box on this map

bastyen commented 5 years ago

218

bastyen commented 5 years ago

fab2cd7

camillemonchicourt commented 5 years ago

Indeed, I dont have this tiles quality problem anymore.