I am using a specific map with different layers and elements on it. The map is created using arcGis and it creates an <svg></svg> label with all the elements inside (building, roads, etc.).
My question is, could I iterate through the different objects of the map inside the frame with javascript/dojo?
The main idea is to change the color of a building or a square inside the map client-side. Any idea?
HTML:
Javascript:
basemap = new esri.layers.ArcGISTiledMapServiceLayer("http://...", {});
map.addLayer(basemap);
Many thanks.
I have managed to create an empty query that can iterate through all the elements, something like this: