Cannot get queryRenderedFeaturesInRect to behave correctly #840
-
|
Even though the docs say that the rectangle is "A rectangle expressed in the map view’s coordinate system." I've figured through trial and error that it's actually supposed to be based on screen coordinates. However I cannot figure out why my code is not working as expected. It appears misaligned. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Any update on this thread? |
Beta Was this translation helpful? Give feedback.
-
|
The behavior was changed in |
Beta Was this translation helpful? Give feedback.
The behavior was changed in
11.0.0-alpha.9to actually uselongitude/latitudefor querying. Please refer to the migration guide on how to use the new API.