2.0 KiB
Mapbox
Mapbox allows you to access its navigation, location search and static map generation API services to create interative/static maps in your application.
Publisher: Simone Lin
Prerequisite
You need to have a Mapbox account to create an API access token. (Pricing)
Supported Operations
Forward Geocoding
This action allows you to look up a single location by name and will return you the geographic coordinates (latitude and longitude) of the location
Get Static Map Image
This action outputs a static map image of a location in base64, the location is specified by its longitude and latitude. The static map image does not have interactivity or controls.
Get Route To Location
This action calculates and returns optimal route to reach a specified location from a given location. It supports 4 different routing profiles: driving-traffic
, driving
, walking
and cycling
. Default routing profile is set to driving
.
Obtaining Credentials
Create an account on Mapbox, Log in and navigate into your account, you can get the default access token for mapbox api at the bottom of the account page.
Known Issues and Limitations
- Mapbox Search API is currently in private beta for worldwide coverage. I will update the connector with this action once it is published.
- Mapbox API is free for a limited amount of requests per month, be sure to consult the APIs Pricing page
- The query parameter
geometries
in the Get Route To Location action currently only supportspolyline
value.