Skip to main content
1 of 2

query features from a bounding box bigger than viewport mapbox gl js

I made a map for a local game and seem to be stuck. The map is filtering features, but only from the current viewport. As the map I would like to use is only 6km square, I would like to query, not load the geojson in the webpage (10MB). queryrenderedfeatures and querysourcefeqtures only work in viewport geocoder doesn't search in self added items.

Kind regards Guy Forssman