var imageParameters = new esri.layers.ImageParameters(); imageParameters.layerIds = [1]; imageParameters.layerOption = esri.layers.ImageParameters.LAYER_OPTION_SHOW; polylineMLayer = new esri.layers.ArcGISDynamicMapServiceLayer("http://www.address_of_your_REST_service/MapServer", { "imageParameters": imageParameters, id: "polylineMLayer" }); map.addLayer(polylineMLayer);
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.