Let's say that the source 'composite' is on the Mapbox server. Source has sourceLayer 'points'.
How can I get all the features in the 'points' layer?
If we write:
var features = map.querySourceFeatures('composite', {
sourceLayer: 'points'
});
This will not give the desired result on all zoom lavels. Because this function does not check tiles outside the currently visible viewport.
How to request all features in vector sourceLayer from Mapbox server?