educos

Name of BaseMap in AllLayers property is not set ?

Discussion created by educos on Aug 30, 2017
Latest reply on Sep 1, 2017 by NYasmin-esristaff

Hi,

I have a piece of code to display Name of all layers of a WebMap.

I am using the AllLayers property to enumerate the layers.

I am surprised to get an empty Name for the first layer in the collection that correspond to the BaseMap layer whereas the BaseMap property has the correct Name.

The base map is OpenStreetMap. The problem seems not to happen with the Topographic base map.

 

Can someone tell me if there is any reason ? Or is it a known issue ?

 

Regards.

Outcomes