A SERVICE OF

logo

MGMapLayerSetup Object | 153
MGMapLayerSetup Object
The MGMapLayerSetup object provides run-time access to map layer setup
through methods that you can use to change data source names and alter the
way map features are linked to databases.
For more information about the MGMapLayerSetup object, see the Autodesk
MapGuide Viewer API Help. You can access the MapGuide Viewer API Help
by clicking Autodesk MapGuide 6.5 Documentation Autodesk
MapGuide Viewer API Help on the Program menu.
This object has the following new methods:
getGeometryFunction (see page 153)
setGeometryFunction (see page 154)
getClipAdjust (see page 155)
setClipAdjust (see page 156)
getClipEnabled (see page 157)
setClipEnabled (see page 158)
getPreSQLStatements (see page 159)
addPreSQLStatement (see page 159)
clearPreSQLStatements (see page 160)
getPostSQLStatements (see page 161)
addPostSQLStatement (see page 162)
clearPostSQLStatements (see page 163)
getSpatialQuery (see page 164)
setSpatialQuery (see page 164)
getGeometryFunction Method
Syntax
String getGeometryFunction()
Description
Gets the geometry function text that is applied to the geometry column of
the SDP layer.
You can apply geometry functions directly to selected features on a layer. For
more information about using geometry functions, see “Using Geometry
Functions” on page 39.