Hi Hunter/Jackie

Is is not just the LayerDefinitionId that is ReadOnly on the RuntimMapLayer.
Also:
  QualifiedClassName
  GeometryPropertyName
  FeatureSourceID
  SchemaName

I think (I have not tested) that you need to create a new ILayerDefinition
object and then set these properties in that and not in the RuntimeMapLayer,
then do
RuntimeMapLayer newlayer = new RuntimeMapLayer(map, ldef);

Then the RuntimeMapLayer will have the properties set correctly.

Hans...

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Upgrading-MaestroAPI-tp7019938p7027709.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to