Skip to content

queryRenderedFeaturesInRect gives back empty featurecollection #3784

Answered by mikelsis
peterbodo asked this question in Q&A
Discussion options

You must be logged in to vote

Yeah, queryRenderedFeaturesAtPoint and queryRenderedFeaturesInRect feels quite tangled.
You can workaround issue with [], by creating bbox using screen size, but proper fix from maintainers would be appreciated.

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@mikelsis
Comment options

@peterbodo
Comment options

@mikelsis
Comment options

Answer selected by peterbodo
@peterbodo
Comment options

Comment options

You must be logged in to vote
1 reply
@Gnative
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants