Hello,
How do you loop through the Layer collection in order to get the layer information. Also, what is layers.Name.ToString() supposed to return?
For example, I need to get the following:
string key = "USAStatesLayer"
string path = "c:\datafieles"
Map1.StaticOverlay.Layers.Add("USAStatesLayer", usaStatesLayer);
foreach(Layer layers in Map1.StaticOverlay.Layers)
{
string test = layers.Name.ToString();
}
Thanks, Steven