Created
March 13, 2013 16:00
-
-
Save maplinkapi/5153530 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var zoomLevel = map.getZoom(); // Get zoom level; Value 14. | |
map.zoomIn(); // Increases +1 | |
zoomLevel = map.getZoom(); // Get zoom level; Value 15. | |
map.zoomOut(); // Decreases -1 | |
zoomLevel = map.getZoom(); // Get zoom level; Value 14. | |
map.zoomOut(); // Decreases -1 | |
zoomLevel = map.getZoom(); // Get zoom level; Value 13. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment