Select to view content in your preferred language

Extracting group layers' names from mpk

1194
0
03-10-2014 12:36 AM
Labels (1)
CamillePignon
New Contributor
Hello,

I am currently developping an application with the WPF SDK of ArcGIS and working with local operational layers with the extension .mpk.
I have one mpk file that contains groups that contains different layers, each group corresponding to a set of layers about the same subject (roads, buildings, etc) and i would like, in my application, from the mpk file that i open with my map control, to get the names of the groups that are in the mpk file because i need to show those groups' names in a menu.

Right now, I can't even get the names of the layers contained within that file, i have looked in the API reference but i can't find anything that answers my question. I tried the "Layers" property from the ArcGISLocalDynamicServiceLayer that I create but it doesn't do the job since it is apparently "null".

Can anyone help me?

Thanking you in advance,

Sincerely,

Camille PIGNON
0 Kudos
0 Replies