Providers
Mapbox
Maps and location: geocoding, directions, styles, tilesets and datasets.
Maps and location: geocoding, directions, styles, tilesets and datasets.
API key
- Open console.mapbox.com and create an API key with only the access your apps need.
- Copy it. It may be shown only once.
What to create: An access token from Access tokens in the Mapbox console, with only the scopes the app needs.
Add it to your Gateway. It asks for the key:
everyapp provider add mapboxUse it in an app
In the app's everyapp.config.ts:
capabilities: {
mapbox: { access: "read", why: "What the app does with it." },
},The app calls Mapbox's API with integrationFetch(), and the Gateway adds the key. Use "write" if the app changes things. More in API providers.
Check it worked: everyapp provider show mapbox shows the key as set.
Rate limits: Per token and per API: Geocoding 1,000 a minute, Directions 300, Static Images 1,250; the Tokens API 100 a minute per account.
Something wrong or missing? Open an issue.