I am trying to load all features from an imported geoJSON. I want to do so because I need some propeties in order to create a list of all elements.

But when trying to access them it looks like I can only query the features inside the current view.

Is there a way to acces them even if they are not in the current view?

1 Answer 1


You can fetch the GeoJSON first and then pass the GeoJSON object instead of URL as the geojson source's data.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.