User Tools

Site Tools


thinkgeo.mapsuite.mvcedition.overlayswitchermaptool

This is an old revision of the document!


ThinkGeo.MapSuite.MvcEdition.OverlaySwitcherMapTool

<!– Class –> Represents a panel in the upper right corner of the map, containing a list of overlays in the map.

Remarks

The OverlaySwitcher is a panel that contains a list of overlays and provides you with a means to manage the overlays in the map. You can show or hide an overlay by clicking the checkbox beside its name. You can choose an overlay as the current base overlay by clicking the radio button beside it. Setting the <strong>Enabled</strong> property to true will display this panel on the map.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodOverlaySwitcherMapTool Initialize an instance of OverlaySwitcherMapTool 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 PropertyBackgroundColor GeoColor Gets or sets the background color of the OverlaySwitcher object.
Public PropertyBaseOverlayTitle String Gets or sets the base overlay part title of OverlaySwitcher panel
Public PropertyDynamicOverlayTitle String Gets or sets the dynamic overlay part title of OverlaySwitcher panel
Public PropertyEnabled Boolean MapTool Gets or sets a value that turns the feature on and off.
Public PropertyOnClientBaseOverlayChanged String Gets or sets the client-side script that executes after the base overlay changes in the OverlaySwitcher.
Public PropertyRoundedCornerColor GeoColor Gets or sets the rounded corner color of the OverlaySwitcher object.

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

OverlaySwitcherMapTool()

Initialize an instance of OverlaySwitcherMapTool 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

BackgroundColor

Gets or sets the background color of the OverlaySwitcher object.

Return Value

Return Type
GeoColor<!– ThinkGeo.MapSuite.Core.GeoColor –>

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

BaseOverlayTitle

Gets or sets the base overlay part title of OverlaySwitcher panel

Return Value

Return Type
String<!– System.String –>

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

DynamicOverlayTitle

Gets or sets the dynamic overlay part title of OverlaySwitcher panel

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.MvcEdition.OverlaySwitcherMapTool –> 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

OnClientBaseOverlayChanged

Gets or sets the client-side script that executes after the base overlay changes in the OverlaySwitcher.

Remarks

The Javascript that is set to this property will be injected into the page and executed whenever the BaseOverlayChanged event occurs at the client side.

Return Value

Return Type
String<!– System.String –>

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

RoundedCornerColor

Gets or sets the rounded corner color of the OverlaySwitcher object.

Return Value

Return Type
GeoColor<!– ThinkGeo.MapSuite.Core.GeoColor –>

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

Protected Properties

Public Events

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