New answers tagged


This code to filter all features in the map --> to only the features of layers you added Map here refers to the map you created from mapbox '''Hope this hint helps you'''' map.on("click", function (e) { var features = myMap.queryRenderedFeatures(e.point); let isFeature = false; let buffered, myFeat; for (let i = 0; i < ...

Top 50 recent answers are included