JS API
- Parameters
- Options
- Example
- Methods
- fitToBoundingBox
- getBoundingBox
- getInitialBoundingBox
- getLayers
- getMouseMode
- off
- on
- once
- refresh
- reset
- setMouseMode
- usingLayer
- usingNewLayer
- Events
- Parameters
- Example
- Methods
- addFeature
- addFeatureCollection
- bringForwards
- bufferGeometry
- changeProperties
- clearFilters
- clearFeatures
- clearStyle
- clipByFeatureCollection
- convertToCentroids
- filterByBoundingBox
- filterByFeatureCollection
- filterByNearest
- filterByText
- getFeatureCollection
- hide
- sendBackwards
- show
- style
- update
- usingFeature
Built-In Buttons
Key | Description |
---|---|
'ZoomIn' | Zooms the map in by 1 zoom step |
'ZoomOut' | Zooms the map out by 1 zoom step |
'Reset' | Resets the map to its starting bounds |
'Pan' | Sets the map to normal navigation (pan) mode |
'DrawPoint' | Sets the map to point-drawing mode |
'DrawLine' | Sets the map to line-drawing mode |
'DrawPolygon' | Sets the map to polygon-drawing mode |