Adding layers using ArcGISDynamicMapServiceLayer

المشرف العام

Administrator
طاقم الإدارة
I am right now adding individual layers using FeatureLayer but it takes quite some time to load as the map is for US Counties (3076 count). I tried to load it using ArcGISDynamicMapServiceLayer but I was not successful. It seems that ArcGISDynamicMapServiceLayer can load mapserver but not the layers in the mapserver.

I used the following code but it did not work.

var ftrLyr = new esri.layers.ArcGISDynamicMapServiceLayer(url, { visibleLayers: [1]});Is it not possible to load layers in a mapserver using DynamicMapService?



أكثر...
 
أعلى