Select to view content in your preferred language

How to select items Programatically in "jimu/dijit/LayerChooserFromMap"

2377
1
08-03-2015 05:46 AM
sumitzarkar
Deactivated User

I am using "jimu/dijit/LayerChooserFromMap" dijit in Configuration UI to select layers from the map, and extracting layer info(URL, LayerDef, Name etc) and using this info in widget using this.config

How do I show previously selected layers in LayerChooserFromMap, when user reopens the configuration panel to edit the config .

0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus

Sumit,

   I don't see any methods or properties that allow this. Actually I don't see any widgets in WAB that use this dijit besides the Geoprocessing widget. Most widgets use the _BasicLayerChooserFromMap or the FeaturelayerChooserFromMap.