Call GetClassDefinition() on your MgLayer/MgLayerBase object That returns a MgClassDefinition, which should have a MgGeometricPropertyDefinition in its collection of property definitions.
MgClassDefinition.GetDefaultGeometryPropertyName() gives you a hint as to the name of the property definition to look for. The MgGeometricPropertyDefinition has a GetGeometryTypes() which returns an integer This integer is a bitmask of all possible geometric types, which are: Point = 1 Curve = 2 Surface = 4 Solid = 8 Hope that helps. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/How-to-know-feature-type-tp4973241p4973322.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
