User Tools

Site Tools


thinkgeo.mapsuite.mvcedition.measuremaptool

This is an old revision of the document!


ThinkGeo.MapSuite.MvcEdition.MeasureMapTool

<!– Class –> Represents the measure map tool which allows measurements for features.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodMeasureMapTool Initialize an instance of the MeasureMapTool class.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodEquals Object Object
Public MethodFromJson String MapTool Load this object from a json string.
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodToJson MapTool Returns a JSON string that represents the map control object.
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodFinalize Object
Protected MethodMemberwiseClone Object

Public Properties

Name Return DeclaringType Summary
Public PropertyEnabled Boolean MapTool Gets or sets a value that turns the feature on and off.
Public PropertyGeodesic Boolean Indicate whether to measure geodesic distance.
Public PropertyMeasureType MeasureType Represents the different types of the MeasureMapTool.
Public PropertyMeasureUnitType MeasureUnitType Represents the display system units for output measurements.

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

MeasureMapTool()

Initialize an instance of the MeasureMapTool class.

Remarks

The default MeasureType is Line, and the display system units is Metric by default, also it measures geodesic distance by default.

Parameters

Name Type Description

Go Back

Protected Constructors

Public Methods

Equals(Object)

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

FromJson(String)

Load this object from a json string.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
jsonString String<!– System.String –> a json string

<!– ThinkGeo.MapSuite.MvcEdition.MapTool –> Go Back

GetHashCode()

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetType()

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

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

Return Type Description
String<!– System.String –> A JSON string that represents the map control.

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.MvcEdition.MapTool –> Go Back

ToString()

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

Finalize()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

MemberwiseClone()

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Public Properties

Enabled

Gets or sets a value that turns the feature on and off.

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.MvcEdition.MapTool –> Go Back

Geodesic

Indicate whether to measure geodesic distance.

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.MvcEdition.MeasureMapTool –> Go Back

MeasureType

Represents the different types of the MeasureMapTool.

Return Value

Return Type
MeasureType<!– ThinkGeo.MapSuite.MvcEdition.MeasureType –>

<!– ThinkGeo.MapSuite.MvcEdition.MeasureMapTool –> Go Back

MeasureUnitType

Represents the display system units for output measurements.

Return Value

Return Type
MeasureUnitType<!– ThinkGeo.MapSuite.MvcEdition.MeasureUnitType –>

<!– ThinkGeo.MapSuite.MvcEdition.MeasureMapTool –> Go Back

Protected Properties

Public Events

thinkgeo.mapsuite.mvcedition.measuremaptool.1440040131.txt.gz · Last modified: 2015/09/21 03:34 (external edit)