Select to view content in your preferred language

Is it possible to Drag and drop toc layers on map

1264
2
08-22-2016 11:29 PM
veenahosur2
Deactivated User

Hi I am trying to drag and drop TOC layers on map, layers  which are coming from ArcGIS services. currently if i click on checkbox the layers will load on map but i also want if i drag and drop layers  it should display on the map...can someone please help me get out of this problem.thank you......... 

0 Kudos
2 Replies
PanagiotisPapadopoulos
Esri Regular Contributor

you can try the following sample http://jqueryui.com/sortable/#connect-lists  in order to create a list of  layers with drag and drop option enabled.

you can have two lists , the available layers and the active layers on map. User will drag and drop layers between two lists in order to enable and disable visibility.

Also because the lists allow to reorder the items you can enable the layer order on map.

by Anonymous User
Not applicable

Hello,

You see all layers with services and TOC.

Please adjust your layers in TOC After that you can put some basic display properties based upon scale range.

Thanks.

0 Kudos