Draw tools for mapbox-gl-js
featuresAt
function by @caldwellc in https://github.com/mapbox/mapbox-gl-draw/pull/1194
featureChanged
on feature props change by @wyozi in https://github.com/mapbox/mapbox-gl-draw/pull/1196
preventDefault()
on touchstart
and touchmove
events by @Archetylator in https://github.com/mapbox/mapbox-gl-draw/pull/1195
mapboxgl-canvas
by @neodescis in https://github.com/mapbox/mapbox-gl-draw/pull/1165
preventDefault
in https://github.com/mapbox/mapbox-gl-draw/pull/1158
Full Changelog: https://github.com/mapbox/mapbox-gl-draw/compare/v1.4.0...v1.4.1
preventDefault
by @danielsippel in https://github.com/mapbox/mapbox-gl-draw/pull/1146
Full Changelog: https://github.com/mapbox/mapbox-gl-draw/compare/v1.3.0...v1.4.0
draw.add
— responsibility for valid input is now on the user. #1052simple_select
mode handling on touch devices. #1008 (h/t @corinv)peerDependencies
to allow [email protected]+
to be used with gl-draw.package.json
so that usage of library from npm always results in pulling in the built bundle.require()
'ing of unsed node builtins like fs
and path
from the bundle.