Add the Mapbox GL JS module

The instructions below assume you are compiling your JS with Webpack, Browserify, or another module bundler.

Install the npm package

npm install mapbox-gl --save

Include the GL JS CSS file

Include the GL JS CSS file in the <head> of your HTML file.

<link href='https://api.mapbox.com/mapbox-gl-js/v0.36.0/mapbox-gl.css' rel='stylesheet' />
Next