-
Notifications
You must be signed in to change notification settings - Fork 1
mapbox gl draw
rothwell.andy@gmail.com edited this page Jul 26, 2024
·
3 revisions
mapbox-gl-draw is an old plugin for mapbox, which is still currently updated, and it continues to work with MapLibre GL JS 4.x.x.
We do not use the current version, however, and instead run it off 2 files in src/assets/:
- mapbox-gl-draw.min.js
- maplibre-gl-draw.css
These notes about this were initially in @phila/vue-mapping:
import mapbox-gl-draw-min.js, cloned from https://gist.github.com/godismyjudge95/a4ea43263db53b90b05511c911cd0034
this was recommended by a comment in https://github.com/mapbox/mapbox-gl-js/issues/9114
the official mapbox-gl-draw was blocking map clicks