HI all, I want to combine two map serices , i have one map service which is map and other has some other service . I need to combine these and show on .I tried the followingmap = new Map("MapSection", {
extent: initExtent
});
WorldCountries1 = new esri.layers.ArcGISDynamicMapServiceLayer("mpasericeurl1");
map.addLayer(WorldCountries1);
var WorldCountries = new ArcGISDynamicMapServiceLayer("arcgisUrl");
//WorldCountries.setOpacity(0.75);
console.log(" in map ");
map.addLayer(WorldCountries);
When i did that the first service is displaying behind the second service , i reversed the order in which i am adding layer but still issue persist what could be the better way to do this.