![]() 'center', double-click zoom will zoom to the center of the Zoomed out by double clicking while holding shift. ![]() Whether the map can be zoomed in by double clicking on it and Whether the map can be zoomed to a rectangular area specified byĭragging the mouse while pressing the shift key. Set it to false if you don't want popups to close when user clicks the map. Whether a zoom control is added to the map by default. Whether a attribution control is added to the map by default. Whether Paths should be rendered on a Canvas renderer.īy default, all Paths are rendered in a SVG renderer. Instantiates a map object given an instance of a HTML element ![]() Instantiates a map object given the DOM ID of a elementĪnd optionally an object literal with Map options. Usage example // initialize the map on the "map" div with a given center and zoom The central class of the API - it is used to create a map on a page and manipulate it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |