Code examples
Note
You can fork and edit all examples as you like, this will not break them.
Tags
map controls events layers lines markers polygons
Getting started
Map parameters
- Async loading of the JS Map API map
- Change camera position map controls events
- Change map behaviors map controls
- Create and delete the map map
- Moving the map map controls
- Restrict the map view area map polygons controls
Objects on the map
- Add a marker with a custom icon to the map markers
- Create a default marker markers
- Create a draggable marker markers
- Create a line lines controls events
- Create a marker clusterer markers controls layers
- Create a marker with a popup window markers
- Create a polygon polygons
- Display a hint when hovering over map elements markers polygons lines
Layers
- Create your own map layers markers
- Custom map type layers
- Custom tiles on canvas layers
- Map customization layers controls
Events and event handling
Map controls
- Add a fullscreen control to the map controls
- Add a geolocation control to the map controls
- Add a zoom control to the map controls
- Display map scale controls