Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

GetGeometryTypes
GetHasElevation
GetHasMeasure
GetReadOnly
GetSpatialContextAssociation
GetSpecificGeometryTypes
MgGeometricPropertyDefinition
SetGeometryTypes
SetHasElevation
SetHasMeasure
SetReadOnly
SetSpatialContextAssociation
SetSpecificGeometryTypes
void MgGeometricPropertyDefinition::SetSpatialContextAssociation | ( | CREFSTRING | spatialContextName | ) |
Sets a Spatial Context association for this geometric property. Remarks: If not set, this name defaults to the Spatial Context name active in the datastore. .NET Syntax
`void SetSpatialContextAssociation(string spatialContextName);`
Java Syntax
`void SetSpatialContextAssociation(String spatialContextName);`
PHP Syntax
`void SetSpatialContextAssociation(string spatialContextName);`
  Parameters:
  | spatialContextName | (String/string) The Spatial Context name to be set.
Returns: Returns nothing.

Comments or suggestions? Send us feedback.