dexconor

FeatureLayer & ArcGISDynamicMapServiceLayer

Discussion created by dexconor on Nov 12, 2012
Latest reply on Nov 12, 2012 by dexconor
Hello,

I was making a map with popup function however I'm stuck or have no idea using

        var featureLayer = new esri.layers.FeatureLayer("http://localhost/ArcGIS/rest/services/TAVP/MapServer",{
   opacity:0.5,
   mode: esri.layers.FeatureLayer.MODE_SELECTION,
   outFields: ["*"],
   infoTemplate:template
   });


it works when I change new esri.layers.FeatureLayer to new esri.layers.ArcGISDynamicMapServiceLayer

but then popup will not work.


Can anyone help me out with this?


URL working fine and map as well

Outcomes