A SERVICE OF

logo

MGMapLayer | 125
Error Codes
-1 (busy)
-2 (not ready)
-3 (illegal argument)
-16 (write permission denied)
-19 (driver not detected)
-20 (API disabled)
-22 (write error)
MGMapLayer
The MGMapLayer object represents a layer on the map. Its getLayerType
method and LayerType property return strings indicating the layer type. This
method and property can now also return DWF as the layer type.
For more information about the MGMapLayer object and its getLayerType
method and LayerType property, see the Autodesk MapGuide Viewer API
Help. You can access the Autodesk MapGuide Viewer API Help by clicking
Autodesk MapGuide 6.5 Documentation Autodesk MapGuide Viewer
API Help on the Program menu.
getLayerType Method
Returns
String – Represents the layer type. The following are valid layer types:
Unknown, Point, Text, Polyline, Polygon, Raster, Buffer, GIS Design Server
Theme, Autodesk DWG, Autodesk DWF, and Redline.
For more information about the getLayerType method, 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.