<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I am dynamically adding layers to my Map object, and would like the Map
to have the Features selected after the layer is loaded.<br>
I have followed the DevGuide examples, and I get the new layers to
appear; however, the features on the layer are not selectable. Looking
into the base Map definition, I see that when a layer is added that can
be selected, additional XML nodes are added to the map as below, with
the 'Selectable == true'. <br>
<MapLayer><br>
<Name>New Layer</Name><br>
<ResourceId>Library://.... </ResourceId><br>
<b><Selectable>true</Selectable></b><br>
<ShowInLegend>true</ShowInLegend><br>
<LegendLabel> </LegendLabel><br>
<ExpandInLegend>true</ExpandInLegend><br>
<Visible>true</Visible><br>
<Group></Group><br>
</MapLayer><br>
<br>
If I want my dynamic layers to be selectable, do I need to also update
the base Map Definition file too, or is there some other way via the
API that I can do this and have the new layer features be selectable.<br>
<br>
Thanks,<br>
<br>
-scott<br>
</body>
</html>