TransWikia.com

refreshClusters on esri.Cluster.featureLayer

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?

One Answer

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

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP