Adding controls to a map
Last updated
Last updated
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.
Setting the 'Show Navigation' field to 'yes' gives you the ability to zoom and pan the map
Setting the 'Show Directions' field to 'yes' allows the user to get directions from a start location to an end location:
Setting the 'Geolocate Control' to 'yes' adds a button that can be clicked to track the current user.