User Tools

Site Tools


thinkgeo.mapsuite.mvcedition.animationpanmaptool

This is an old revision of the document!


ThinkGeo.MapSuite.MvcEdition.AnimationPanMapTool

<!– Class –> Represents an animation pan tool which allows map pans to the position which users click using the transition effect.

Remarks

This map tools mainly caputure the click event on the map and then pan to the location clciked with the transition effect, also user could define the delay (in milliseconds) of the click event. If user don't want this pan transition effect, and uesr could define his own client event using <strong>OnClick</strong> property.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodAnimationPanMapTool Initialize an instance of the AnimationPanMapTool 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 PropertyDelay Int32 The number of milliseconds between clicks before the event is considered a double-click.
Public PropertyEnabled Boolean MapTool Gets or sets a value that turns the feature on and off.
Public PropertyOnClientClick String Gets or sets the client-side script that executes when you click on the map using this Animation Pan map tool.

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

AnimationPanMapTool()

Initialize an instance of the AnimationPanMapTool class.

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

Delay

The number of milliseconds between clicks before the event is considered a double-click.

Return Value

Return Type
Int32<!– System.Int32 –>

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

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

OnClientClick

Gets or sets the client-side script that executes when you click on the map using this Animation Pan map tool.

Remarks

There is a default parameter:e, which includes one parameter: “worldXY”

Return Value

Return Type
String<!– System.String –>

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

Protected Properties

Public Events

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