Timeline for JavaScript: Adding/removing layers from ArcGIS Server
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 3, 2018 at 16:57 | comment | added | Leeloo | I would close the discussion here, moving to gis.stackexchange.com/q/285056/116936 | |
May 31, 2018 at 14:37 | comment | added | Dowlers | Oh you are using leaflet. I'm not as familiar with that but I think you are right. The setlayers method will take an array of layerids to show. | |
May 31, 2018 at 14:32 | comment | added | Leeloo |
What about SetLayers from esri.github.io/esri-leaflet/api-reference/layers/… ?
|
|
May 31, 2018 at 14:31 | comment | added | Dowlers | I think you need to go back and look at some of the samples on the javascript api website. Instantiating layers is a core part of the api and is covered in many of the samples. developers.arcgis.com/javascript/3/jssamples/… | |
May 31, 2018 at 6:49 | comment | added | Leeloo |
Also, is says, ArcGISDynamicMapServiceLayer is not defined
|
|
May 31, 2018 at 6:47 | comment | added | Leeloo |
How to define layers? var layer = new ArcGISDynamicMapServiceLayer( ... ); What is in the brackets?
|
|
May 31, 2018 at 6:39 | vote | accept | Leeloo | ||
May 30, 2018 at 21:54 | history | answered | Dowlers | CC BY-SA 4.0 |