====== ThinkGeo.MapSuite.MvcEdition.MapTool ====== {{section>upgrade_map_suite_to_10.0}} Defines the properties and methods that are shared by all controls on the map. ===== Inheritance Hierarchy ===== *System.Object ***ThinkGeo.MapSuite.MvcEdition.MapTool** *[[ThinkGeo.MapSuite.MvcEdition.AnimationPanMapTool]] *[[ThinkGeo.MapSuite.MvcEdition.KeyboardMapTool]] *[[ThinkGeo.MapSuite.MvcEdition.LoadingImageMapTool]] *[[ThinkGeo.MapSuite.MvcEdition.LogoMapTool]] *[[ThinkGeo.MapSuite.MvcEdition.MeasureMapTool]] *[[ThinkGeo.MapSuite.MvcEdition.MiniMapMapTool]] *[[ThinkGeo.MapSuite.MvcEdition.MouseCoordinateMapTool]] *[[ThinkGeo.MapSuite.MvcEdition.MouseMapTool]] *[[ThinkGeo.MapSuite.MvcEdition.OverlaySwitcherMapTool]] *[[ThinkGeo.MapSuite.MvcEdition.PanZoomBarMapTool]] *[[ThinkGeo.MapSuite.MvcEdition.PanZoomMapTool]] *[[ThinkGeo.MapSuite.MvcEdition.ScaleLineMapTool]] *[[ThinkGeo.MapSuite.MvcEdition.TouchMapTool]] ===== Members Summary ===== ==== Public Constructors ==== ==== Protected Constructors ==== ** {{wiki:ProtectedMethod.gif|}} MapTool() ** * //Initialize an instance of the MapTool class.// == Remarks == * //N/A// == Parameters ==
** {{wiki:ProtectedMethod.gif|}} MapTool(Boolean) ** * //Initialize an instance of the MapTool class with a boolean value that indicates whether it is enabled.// == Remarks == * //N/A// == Parameters == * //enabled// * Type:Boolean * Description:A boolean value that indicates whether this MapTool is enabled.
==== Public Methods ==== ** {{wiki:PublicMethod.gif|}} ToJson() ** * //Returns a JSON string that represents the map control object.// == Remarks == * //This method returns a JSON string that instructs the client Javascript to create a specific client object.// == Return Value == * Type:String * Description:A JSON string that represents the map control. == Parameters ==
** {{wiki:PublicMethod.gif|}} FromJson(String) ** * //Load this object from a json string.// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //jsonString// * Type:String * Description:a json string
** {{wiki:PublicMethod.gif|}} ToString() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:String * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} Equals(Object) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Boolean * Description:N/A == Parameters == * //obj// * Type:Object * Description:N/A
** {{wiki:PublicMethod.gif|}} GetHashCode() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Int32 * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} GetType() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Type * Description:N/A == Parameters ==
==== Protected Methods ==== ** {{wiki:ProtectedMethod.gif|}} Finalize() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Object * Description:N/A == Parameters ==
==== Public Properties ==== ** {{wiki:PublicProperty.gif|}} Enabled ** Gets or sets a value that turns the feature on and off. == Remarks == N/A == Return Value == * Type:Boolean ==== Protected Properties ==== ==== Public Events ====