mirror of
https://github.com/mapbox/mapbox-gl-draw.git
synced 2025-12-08 18:01:54 +00:00
mapboxgl.draw
Adds support for drawing and editing features on Mapbox GL JS maps.
Installing
npm install
Developing
Install dependencies, build the source files and crank up a server via:
npm start & open http://localhost:3000/debug/
You'll need to set a Mapbox API token
to see anything. Set this in localStorage from your browsers console after
npm start
localStorage.setItem('accessToken', 'YOUR ACCESS TOKEN HERE')
Languages
JavaScript
98.7%
HTML
1.3%