| MGMapLayer Object |
|
The MGMapLayer object represents a layer on the map.
Note that instances of the class MGMapLayer cannot be publicly created.
Java Development for Autodesk MapGuide Viewer Plug-In: For Autodesk MapGuide Viewer Plug-In, the Java class MGMapLayer extends java.lang.Object and can be found in the mapguide package, located in the npmapv32.zip file in the Netscape Plugins folder.
Java Development for Autodesk MapGuide Viewer, Java Edition: For Autodesk MapGuide Viewer, Java Edition, MGMapLayer is a Java interface that resides in the com.autodesk.mgjava package, which is located in the mgjava.cab file (for Windows systems only) and the mgjava.jar file (for all platforms).
|
Displays the list of theme categories shown in the legend for the specified map layer in collapsed form, so that only one category from the list is displayed. |
|
|
Adds an empty feature to the layer. This method works only with redline layers. |
|
|
Compares this MGMapLayer object to the specified object. |
|
|
Displays the list of theme categories shown in the legend for the specified map layer in expanded form, so that all categories in the list are displayed. |
|
|
Gets an MGMapLayerSetup object. |
|
|
Returns a string indicating the layer type. |
|
|
Gets the string used to label the map layer in the legend. |
|
|
Gets the map that contains the map layer. |
|
|
Gets the map layer group to which the layer belongs. |
|
|
Gets a collection containing all of the MGMapLayerStyle objects associated with the layer. |
|
|
Gets the map feature with the specified key from the layer. |
|
|
Returns a Vector (or MGCollection object) containing the map features of the layer that fall within the map extent (the part of the map that is displayed). |
|
|
Gets an MGCollection object containing the map features of the layer that fall within the map extent. |
|
|
Gets the name of the map layer. |
|
|
Gets the priority of the map layer. |
|
|
Gets the map layers rebuild flag. |
|
|
Returns True if map features within the map layer may be selected. |
|
|
Returns a boolean value indicating whether the map layer should be displayed in the legend. |
|
|
Gets the SQL Where clause for the layer. |
|
|
Returns a string indicating the type of features the layer contains. |
|
|
Returns True if the map layer is potentially visible. |
|
|
Returns a boolean value indicating whether the map layer is dynamic. |
|
|
Indicates whether Autodesk MapGuide Viewer has access to either coordinate values or map layer setup data, depending on the value of the function parameter that is passed in. |
|
|
Returns a boolean value indicating whether the map layer is static. |
|
|
Returns True if the map layer is currently visible on the map. |
|
|
Prevents Autodesk MapGuide Viewer from having access to either coordinate values or map layer setup data, depending on the value of the function parameter that is passed in. |
|
|
Deletes all features from the layer. |
|
|
Deletes a map feature on the layer. |
|
|
Deletes the specified map features from the layer. |
|
|
Sets the access key associated with a map layer. |
|
|
Sets the string used to label the map layer in the legend. After calling this method, the legend is automatically redrawn. |
|
|
Specifies which map layer group the current layer should belong to. |
|
|
Sets the name of the map layer. |
|
|
Sets the priority of the map layer. |
|
|
Changes the map layer's rebuild flag. |
|
|
Sets the selectability of map features within the map layer. |
|
|
Sets a flag indicating whether the map layer should be displayed in the legend. |
|
|
Sets the SQL Where clause for the layer. |
|
|
Sets the visibility flag indicating whether the map layer is potentially visible. |
|
|
Gives Autodesk MapGuide Viewer access to either coordinate values or map layer setup data, depending on the value of the function parameter that is passed in. |
Note that direct access to properties is only available in Autodesk MapGuide Viewer ActiveX Control. In Autodesk MapGuide Viewer Plug-In and Autodesk MapGuide Viewer, Java Edition APIs, get/set methods provide access to an object's properties. For compatibility, the ActiveX Control API supports the same get/set methods as the Autodesk MapGuide Viewer Plug-In and the Autodesk MapGuide Viewer, Java Edition APIs.
|
Sets the access key for the layer. This value must be 255 characters or less. |
|
|
Returns True if the map layer is dynamic. |
|
|
Gets the MGMapLayerSetup object for this layer. Applies to all layer types except Drawing layers or layers that have been secured. |
|
|
Returns a string indicating the layer type. |
|
|
Gets or sets the legend label used by the map layer. |
|
|
Gets the map containing the map layer. |
|
|
Specifies the name of the map layer group that the current layer belongs to. |
|
|
Gets a collection containing all of the MGMapLayerStyle objects associated with the layer. |
|
|
Gets an MGCollection object containing the map features (MGMapObject objects) of the layer that fall within the map extent. |
|
|
Gets or sets the name of the map layer. |
|
|
Gets or sets the priority of the map layer. |
|
|
Gets or sets the map layer's rebuild flag. |
|
|
Gets or sets whether features within the map layer may be selected. |
|
|
Specifies whether or not to show the map layer in the legend. |
|
|
Gets or sets the SQL Where clause for the dynamic layer. |
|
|
Returns True if the map layer is static. |
|
|
A string indicating the type of features the layer contains. |
|
|
Gets or sets whether the map layer is potentially visible. |
|
|
Indicates whether the map layer is visible at the current map scale. |