Pick a map style

Add the map to your site

Replace 'YOUR_CONTAINER_ELEMENT_ID' with the id of an element on your page where you would like your map.

Sign in to your Mapbox account to display your access token.
var mapboxgl = require('mapbox-gl/dist/mapbox-gl.js');
mapboxgl.accessToken = 'YOUR_MAPBOX_ACCESS_TOKEN';
var map = new mapboxgl.Map({
container: 'YOUR_CONTAINER_ELEMENT_ID',
style: 'mapbox://styles/mapbox/streets-v9'
});
Next