Created
June 15, 2012 20:42
-
-
Save wboykinm/2938603 to your computer and use it in GitHub Desktop.
Conditional Easing
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 cz = map.getZoom() | |
if cz >= 8 { | |
map.setZoom({ Take No Action }); | |
} | |
else { | |
map.setZoom({8}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment