Closed benheb closed 7 years ago
Brendan,
This is expected behavior with a way to opt out. If you set boxSelect
to false
when setting up MapboxDraw you should be good. Here is where you can find this in the docs.
I hope that helps.
Matthew
@mcwhittemore thanks!!
This is expected behavior with a way to opt out. If you set boxSelect to false when setting up MapboxDraw you should be good. Here is where you can find this in the docs.
Updated link find this in the docs
mapbox-gl-js version: 0.37.0 and 0.28.0 mapbox-gl-draw version: v0.18.0
Steps to Trigger Behavior
map.addControl(this.draw, 'bottom-right');
Expected Behavior
When release click, map should zoom to extent of box
Actual Behavior
Nothing happens
I observe the same issue here: https://www.mapbox.com/mapbox-gl-js/example/mapbox-gl-draw/