The methods of the Command class are listed below. For a complete list of Command class members, see the Command Members topic.
AddConnection | Adds a new Connection to this Command. This Connection is automatically opened. The new connection object is automatically set as the Connection property of this command. You can not add the same connection (or one that points the the same server and url) to this Command more than once. |
ChangeLayerVisibility | Change the visibility of a Layer or LayerList An update is not automatically performed |
ClearFinds | Clears any Finds that have been performed in the past and no longer displays them with the highlight symbology (If it is not desired to retain them at all set the RetainFinds property |
ClearIdentify | Clears any Identify features that have been located in the past and no longer displays them with the highlight symbology (If it is not desired to retain them at all set the RetainIdentify property) |
Close | Close all Connections |
DrawPoint | Draws a point at the specified ground location No update is performed. This command is issued only to the Active Connection (SetActiveConnection). |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
Find | Find elements based upon an attribute query |
GetAvailableLayer | Gets a layer or layerlist from the AvailableLayers collection |
GetGeoCode | Processes a Geocode request |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetKeys | Overloaded. Gets an array of Keys for the Connections that belong to this command. A key can be used to Set the Active Connection (SetActiveConnection). This is used if a user needs to change the connection that commands are defaulted to. |
GetLocalLayer | Finds the LayerList or Layer object matching the Unique Id from the Layers collection This results are for the Active Connection (SetActiveConnection). |
GetType (inherited from Object) | Gets the Type of the current instance. |
Identify | Identifies and element and returns a matching attribute list |
Pan | Pan map image by a given delta (in pixels) This method will force a Update. |
PanByDirection | Overloaded. Pan map image in a given direction. The percent of window move is 25%. This method will force an Update. |
ResizeMap | Resize the Map Window |
SetActiveConnection | Sets the Connection (the Connection that commands default to) to the connection identified by the key. The key is a string the is the Server/WebServiceName An array of keys can be retrieved with the GetKeys method. |
SynchronizeSessions | Force all MapSession windows to be in sync with the specified window |
ToString (inherited from Object) | Returns a String that represents the current Object. |
TurnLayerOff | Turn the Display of a Layer or LayerList off An update is not automatically performed |
TurnLayerOn | Turn the Display of a Layer or LayerList on An update is not automatically performed |
UpdateMap | Overloaded. Submit queued commands to the MapServer |
ZoomByFactor | Zoom by a given factor. This method will force an Update. |
ZoomExtents | |
ZoomFullExtents | |
ZoomToAllLayers | Fits the map window to the extents of all loaded layers |
ZoomToCurrentLayer | Fits the map window to the extents of the active layer |
ZoomToGround | Overloaded. Zooms to a given ground coordinate This changes the window location but not the size |
ZoomToGroundWindow | Overloaded. Zoom to window region (in ground coordinates) of map image |
ZoomToNext | Zooms to the next window in the queue Next windows are avaibale if ZoomToPrevious was used prior to this method call |
ZoomToPrevious | Zooms to the last window. |
ZoomToWindow | Overloaded. Performs a Zoom command. An update will be automatically performed. |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
Command Class | MapMatrix.MapControls Namespace