Use Mapbox as a map layer
This small guide will show you how to use Mapbox as Map provider / Map Layer in any Appfarm Solution
On mapbox.com
Visit Mapbox Studio at
https://account.mapbox.com
. Sign up or sign inFrom the dashboard, click Design in Mapbox Studio
Click New Style
Select from a template
Click Customize Basic
Click Share in the top-right corner
Locate section Developer resources and click Third Party
In the dropdown menu, select CARTO
Copy or save the integration URL
In Appfarm Create
Add a new Map UI component, or find your existing Map UI component in your App.
Add a new Layer to your Map
Select Layer Type: Map
Setting URL: Copy the integration URL (copied from Mapbox) and set this as URL of the layer.
Environments Config: For each environment, do the following
Section Content Security > Image Sources: Add an entry with name
Mapbox
and valuehttps://api.mapbox.com
Last updated