Geographic Information Systems Asked by Ced on April 20, 2021
I am trying to ‘refresh’ a cluster layer which is created by L.esri.Cluster.featureLayer and a feature url. I have tried to remove and re-add the layer (with no succees). But the refreshClusters is not a function of a featureLayer, nor of a cluster.featureLayer.
Someone could explain to me?
Since L.esri.Cluster.FeatureLayer
extends L.esri.FeatureLayer
it most certainly has a refresh()
method.
If you clear the network traffic in your browser and call the method in the console, you'll see a fresh set of queries go out to fetch new data.
Answered by john gravois on April 20, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP