var imageParameters = new esri.layers.ImageParameters(); imageParameters.layerIds = [0]; imageParameters.layerOption = esri.layers.ImageParameters.LAYER_OPTION_SHOW; imageParameters.transparent = true; var dLayer = new esri.layers.ArcGISDynamicMapServiceLayer("http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer",{"imageParameters":imageParameters}); map.addLayer(dLayer);
If I add a layer to a map it displays the map feature (or graphic? Is that the right terminology?). Is the default symbol what is listed in the service properties?
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.