I have to refresh the map by iterating through all the layers in the map. How to do that?
Is there a method to get all the layers from this.map. I want to do something like below:
var layers = this.map._layers; // need to get all the layers?
array.forEach(layers, function (layer) {
layer.refresh();
});
Thank you for your help!