Created
June 21, 2013 16:26
-
-
Save maplinkapi/5832415 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 divIdName = "divMap"; | |
var map = new MMap2(divIdName); | |
var point = new MPoint(-46.6520066, -23.5650127); | |
var zoomLevel = 14; | |
map.setCenter(point, zoomLevel); | |
LBS.Event.addListener(map, "zoomend", function (e) { | |
alert("Nível de zoom alterado!"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment