Adding controls to a map
There are a number of controls you can add to a Mapbox Map that will enable additional functionality.

Please note you can also add these controls via workflow actions if you prefer.
Navigation control
Setting the 'Show Navigation' field to 'yes' gives you the ability to zoom and pan the map

Directions control
Setting the 'Show Directions' field to 'yes' allows the user to get directions from a start location to an end location:

Gelocation
Setting the 'Geolocate Control' to 'yes' adds a button that can be clicked to track the current user.

Last updated