0

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

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 that you have read and understand our privacy policy and code of conduct.

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