I have several overlapping polygon layers on my map, each with their own popup template. I have a popup defined on my map as
var popup = new Popup({
markerSymbol: mySymbols.highlightSymbol(),
fillSymbol: mySymbols.highlightFillSymbol()},
domConstruct.create("div"));
map = new Map("mapDiv", {
infoWindow: popup,
basemap: "gray",
center: [-91, 38.2],
zoom: 7
});
When these appear on map click, I get all the selected features, but not always in the same order. I would have thought they would appear from either top to bottom or vice versa in their drawing order.
Why is this and can I change it?