Link to plugin page: https://zeroqode.com/plugin/mapbox-maps-1528977923342x484968448273940500
Show your own MapBox map styles & 3D buildings inside your bubble app. Live user tracking, Markers, FlyTo, Pitch, Bearing, Zoom & Coordinate Control. MapBox Direction, Scale & Movement Controls + Much More!
Use the MapBox element to show your maps in your own styles. Then give your map life using the element actions. On mouse click the plugin returns states that contain Latitude & Longitude as well as address. The plugin also returns states with a list of markers, map's center address and you can trigger workflows when a marker is clicked.
API Key (register and get key at https://www.mapbox.com/)
Place the MapBox Element on the page and then you have access to its actions and states.
Set Style - you can choose the preferred style from the dropdown. Dropdown values are: Streets,Outdoors,Light,Dark,Satellite,Satellite Streets,Custom.
Turn 3D Building On - turn the 3D view on if the location has a 3D representation.
Add Marker - let you add a marker to the map. Fields with you can operate are Latitude, Longitude, Icon, Icon Size, Marker ID.
Fly To - let you go to another location with a flying effect. Fields with you can operate are Latitude, Longitude, Zoom Speed, Fly Speed, Zoom Level, Bearing, Pitch.
Turn 3D Buildings Off - turns 3D view off.
Remove Marker - let you remove any marker from the map. Field with you can operate is Marker ID.
Start Location Tracking - turns on live location tracking.
Stop Location Tracking - turns off live location tracking.
Set Center - centers the map at the given coordinates (latitude and longitude).
Set Zoom - set the map zoom dynamically. Field - Zoom Level.
Set Pitch - set the map pitch.
Set Direction - display a route on the map. Fields - Origin and Destination, both should be geographical addresses.
Remove Directions - removes set directions from the map.
GPS Current Position Lat - number. Available when live tracking is on.
GPS Current Position Lng - number. Available when live tracking is on.
GPS Accuracy - number. Available when live tracking is on.
GPS Altitude - number. Available when live tracking is on.
Mouse Lng - number. Available when clicked on the map.
Mouse Lat - number. Available when clicked on the map.
GPS Enabled - yes/no. GPS permission on or off.
Tracking - yes/no. Live tracking on or off.
Heading Supported - yes/no.
Heading Character - text.
Marker Lat - number. Clicked marker latitude.
Marker Lng - number. Clicked marker longitude.
Map Center Lat - number. Center of map latitude.
Map Center Lng - number. Center of map longitude.
New action added
Add List of Markers - will let you add list of markers to the map from database values
New plugin propriety
Marker Cluster ID - this ID can be used to delete a list of markers with Remove Marker action
Return Data as API Call and New States
Improvements - expose now speed state, added API call for retrieving route details.
Improvements - Remove Route action, Zoom parameter, on Track Location action, don't show popup if marker description is empty, clicked marker id state.