Closed sirws closed 8 years ago
Scott,
1) Layers are coming twice in IS Layers dropdown - Widget reads both the layers present in the webmap loaded with the app, along with the webmap id provided in the configuration of ISLayers widget. I would suggest you read the doc for this as it explains the functionality of the IS Layers widget. To solve your problem, go to root folder of the app, then go to configs/ISLayers/config_IS Layers.json file. Open the file and make the value of webmapId as "".
2) Title getting change in the LayerList and reading of map service issue fixed. I have updated the file ISLayers folder on Github. You can take new updated code from there.
Regards,
Kushagra
Thanks Kushagra! I will definitely take a look at the doc again.
The changes look pretty good. You may want to report the layer name the same in the IS Renderer widget:
It should say "WA State DSM (Surface)" just like the layer name.
Thanks! Scott
Scott,
IS Renderer Updated. Take the updated code from repo.
Regards,
Kushagra
http://nwdemo1.esri.com/lidarexplorer2/
Load the app. Layer List shows the appropriate layer names.
Open the IS Layers/IS Renderer Group:
Switch back to Layer List:
Notice the "WA State DTM (Terrain)" has changed.
Also, it appears the layers are repeated for some reason in the IS Layers control.
Finally, why does the ISLayers control show layers that aren't image services? This is showing map service layers as well. I would expect to only see two layers in it.
Here is the source webmap: http://wadnr.maps.arcgis.com/home/webmap/viewer.html?webmap=aaf626bc4f9b435199eae80f0bdb7fbb