charliedotau/mapbox-gl-js-select-features-by-draw

Does this really work?

Closed this issue · 1 comments

Update: See #2


I wonder, if this still – or ever – worked.

Test 1: This polygon should not have selected the border with Ryegate in it.

image

Test 2: When I use queryRenderedFeatures I don't get any geometry, so there is nothing that turf could use to filter the features. — Update: I was blind and overlooked the un-enumerable geometry property right at the end 🤦.

image

Closing. It does work with #2