Dynamically getting layer ID in WPF for Arc/GIS 10.0 services

788
1
02-19-2014 08:29 AM
Labels (1)
GISDEV
by
New Contributor
We are creating an application in WPF using Arc/GIS 10.0 services and we have about 20 different layers that we need to display on the screen. We may add additional layers in future. So we like to get the layer ids dynamically and display any particular layer. In Arc/GIS 10.1, we have the class  ArcGISDynamicMapServiceLayer  to help. How can we accomplish the same thing in Arc GIS 10.0?


Thanks and Regards
Mini Alex
0 Kudos
1 Reply
BKuiper
Occasional Contributor III
Hi Alex,

not completely sure what part is most important for you. but yes, you can load any layer within Runtime for WPF. Give them unique IDs on the fly and use the Visibility property to hide and show layers. Download the free SDK from the website and check out the example application. This will show you what Runtime is all capable of.
0 Kudos