[mapguide-users] Re: Upgrading MaestroAPI

Hans Milling hm at geograf.dk
Thu Nov 24 05:56:43 EST 2011


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.


More information about the mapguide-users mailing list