Skip to content

Getting a list of all visible features - queryRenderedFeatures #207

Closed Answered by dimfeld
Niamh1 asked this question in Q&A
Discussion options

You must be logged in to vote

BTW if you don't have too many markers, it might also work for you to just put a move or moveend event handler on the map and then read the map's bounding box in there and create a filtered list of where the bounding box overlaps with your GeoJSON.

Replies: 2 comments 2 replies

Comment options

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

Answer selected by dimfeld
Comment options

You must be logged in to vote
1 reply
@dimfeld
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
2 participants