CloudMade/Leaflet — Issue #432: Sending zoom level manually
Author: HooliganQC
Created: 2012-01-13 18:57:38+00:00
State: open

Hi!

Is there any way I can do this :

I'm working on offline map and only two zoom levels would be available. I want to manage the zoom so that, for example the tiles are avaialble for zoom level 14 and 16. I set the map to level 14 on start. If user zooms in, I switch directly to zoom 16. Then if he zooms in again it does nothing. If he zooms out it goes back to 14.

Don't know if I explained it clearly. I tried to do something using get zoom and set zoom but I doesn't work.

Thank you