Page 1 of 1

[closed] zoom-values become 1, 2, 3, 4, 5, 6, 7

Posted: Fri Apr 19, 2019 2:30 am
by jidanni
Reading http://www.offline-maps.net/en/help/maps/stored/custom I used
<zoom-values>14,15,16,17,18,19,20</zoom-values>
Even though the map works fine, but as you see ("5/7") internally they apparently became 1, 2, 3, 4, 5, 6, 7.
What is going on?!

Re: zoom-values become 1, 2, 3, 4, 5, 6, 7

Posted: Fri Apr 19, 2019 1:31 pm
by Yemble
For the casual user, this is just saying that you are at the relative zoom level, X out of Y, which probably makes sense for most users. But, I agree that the real map zoom value should also be displayed, maybe in brackets.

Re: zoom-values become 1, 2, 3, 4, 5, 6, 7

Posted: Fri Apr 19, 2019 1:54 pm
by jidanni
All I know is every other map uses the real zoom levels. And it makes zero sense not to. In fact I believe this is a regression from previous correct behavior.

Re: zoom-values become 1, 2, 3, 4, 5, 6, 7

Posted: Fri Apr 19, 2019 2:01 pm
by jidanni
Wait! I see in other .AQX files there is not
<zoom-values>14,15... but instead
<zoom-levels z="14,15...
which is totally not mentioned in http://www.offline-maps.net/en/help/maps/stored/custom nor anywhere else on the whole site!

Re: zoom-values become 1, 2, 3, 4, 5, 6, 7

Posted: Fri Apr 19, 2019 3:48 pm
by jidanni

Re: zoom-values become 1, 2, 3, 4, 5, 6, 7

Posted: Wed May 01, 2019 7:20 am
by Psyberia-Support
Most users don't know the OSM zoom ID, so it's not displayed by default.

But you can turn on its display using this user settings:

Code: Select all

map.canvas.display_osm_zoom_id=1
Also, "<zoom-values>1,2,3...</zoom-values>" has been replaced by "<zoom-levels z=1,2,3...>...</zoom-levels>" in AQX version 8 (OM 2.3). But it's retro-compatible so both can now be used.
I've updated the online help.