Hello,
For what it's worth,
I tried to pass a ring/polygon to map.queryRenderedFeatures.
It did not work because, as mentioned in the documentation (that I overlooked) it takes 0, 1 or 2 points (bounding box).
The thing is that it still manage to return something sometimes and it can be confusing.
In my experience having a null or error instead would have been a game changer.
Thanks
Hello,
For what it's worth,
I tried to pass a ring/polygon to
map.queryRenderedFeatures.It did not work because, as mentioned in the documentation (that I overlooked) it takes 0, 1 or 2 points (bounding box).
The thing is that it still manage to return something sometimes and it can be confusing.
In my experience having a null or error instead would have been a game changer.
Thanks