WSDOT-GIS / arcgis-js-layer-list

Layer list UI control for ArcGIS API for JavaScript
The Unlicense
2 stars 1 forks source link

Add ability to delay-load layers #3

Open JeffJacobson opened 9 years ago

JeffJacobson commented 9 years ago

Allow the layers to be delay-loaded, so that no requests for layer information are made until the first time the user turns the layer on via its checkbox. At this point, the layer should be inserted in the position indicated in the layer list (instead of just adding it to the top of the map).

This will require a custom parsing of the webmap JSON data instead of using esri/arcgis/utils.createMap().