dotevo / osm24

http://osmapa.pl/osm24
Other
19 stars 13 forks source link

Raise max zoom to 19 #44

Open edewaele opened 9 years ago

edewaele commented 9 years ago

In some dense town centres, shops are very close to one another, for example http://osm24.eu/index.php#!18/48.89690/2.24878. As the icons are very close to one another, they overlap even at level 18. Tapping one will probably select its neighbour. The selection would be easier if one could zoom to level 19.

nicolashohm commented 9 years ago

I can not reproduce this, if I zoom in, it goes till level 19: http://osm24.eu/index.php#!19/51.70662/19.78667/

Can you please provide a link which shows your issue?

edewaele commented 9 years ago

On my Android device with Firefox, I can display level 18, but the + button is inactive. Pinch-zooming seems possible, but the map keeps jumping back to level 18. Chrome's behaviour is the same.

nicolashohm commented 9 years ago

ok it seams this is related to the leaflet retina mode: src - doc

I tried it out but it seems their is no way to raise the max zoom level. The max zoom level supported by osm is 19, on retina at lvl 18 leaflet already loads the lvl 19 map tiles, therefore on lvl 19 there would be no map tiles available.

Anyway maybe I have a solution for you, when you swipe or tap on the pins left beside the osm24.eu letters a list of all visible POIs appear. With a tap you can select them on the map or open the popup with a double tap on the list entry ;)