Code examples - controls
Note
You can fork and edit all examples as you like, this will not break them.
Tags
map controls deck.gl dynamic editor events features geojson heatmap integration layers lines markers overlays polygons webgl
Map parameters
- Change camera position map controls events
- Change map behaviors map controls
- Moving the map map controls
- Optimize rerenders map controls
- Restrict the map view area map polygons controls
Objects on the map
- Create a line lines controls events
- Create a marker clusterer markers controls layers
- Hitting a point in a circle markers polygons controls
Layers
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
- Add route control to the map controls
- Add search control to the map controls
- Adding a minimap control controls
- Adding a spinner to the map controls
- Adding rotation and tilt controls to the map controls
- Context menu controls
- Display map scale controls
- Group of objects on the map controls markers
- Map resizing controls
- Sidebar controls
- Signpost of markers outside viewport controls
Building routes
Search on the map
Advanced examples
- Building a route to interesting places near a specified point map lines markers controls
- Measurements by the ruler of the package with the default UI theme controls markers
- Measuring with a ruler using the ruler module controls markers
- Polygon and Line Geometry Editor controls polygons lines