ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
This is an old revision of the document!
<!– Class –> Represents a panel in the upper right corner of the map, containing a list of overlays in the map.
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.
*System.Object ThinkGeo.MapSuite.MvcEdition.MapTool *ThinkGeo.MapSuite.MvcEdition.OverlaySwitcherMapTool
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
OverlaySwitcherMapTool | Initialize an instance of OverlaySwitcherMapTool class. |
Name | Parameters | DeclaringType | Summary |
---|
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
Finalize | Object | ||
MemberwiseClone | Object |
Name | Return | DeclaringType | Summary |
---|---|---|---|
BackgroundColor | GeoColor | Gets or sets the background color of the OverlaySwitcher object. | |
BaseOverlayTitle | String | Gets or sets the base overlay part title of OverlaySwitcher panel | |
DynamicOverlayTitle | String | Gets or sets the dynamic overlay part title of OverlaySwitcher panel | |
Enabled | Boolean | MapTool | Gets or sets a value that turns the feature on and off. |
OnClientBaseOverlayChanged | String | Gets or sets the client-side script that executes after the base overlay changes in the OverlaySwitcher. | |
RoundedCornerColor | GeoColor | Gets or sets the rounded corner color of the OverlaySwitcher object. |
Name | Return | DeclaringType | Summary |
---|
Name | Event Arguments | DeclaringType | Summary |
---|
Initialize an instance of OverlaySwitcherMapTool class.
Name | Type | Description |
---|
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> |
Name | Type | Description |
---|---|---|
obj | Object<!– System.Object –> |
<!– System.Object –> Go Back
Load this object from a json string.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
jsonString | String<!– System.String –> | a json string |
<!– ThinkGeo.MapSuite.MvcEdition.MapTool –> Go Back
Return Type | Description |
---|---|
Int32<!– System.Int32 –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Type<!– System.Type –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Returns a JSON string that represents the map control object.
This method returns a JSON string that instructs the client Javascript to create a specific client object.
Return Type | Description |
---|---|
String<!– System.String –> | A JSON string that represents the map control. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.MvcEdition.MapTool –> Go Back
Return Type | Description |
---|---|
String<!– System.String –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Object<!– System.Object –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Gets or sets the background color of the OverlaySwitcher object.
Return Type |
---|
GeoColor<!– ThinkGeo.MapSuite.Core.GeoColor –> |
<!– ThinkGeo.MapSuite.MvcEdition.OverlaySwitcherMapTool –> Go Back
Gets or sets the base overlay part title of OverlaySwitcher panel
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.MvcEdition.OverlaySwitcherMapTool –> Go Back
Gets or sets the dynamic overlay part title of OverlaySwitcher panel
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.MvcEdition.OverlaySwitcherMapTool –> Go Back
Gets or sets a value that turns the feature on and off.
Return Type |
---|
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.MvcEdition.MapTool –> Go Back
Gets or sets the client-side script that executes after the base overlay changes in the OverlaySwitcher.
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 Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.MvcEdition.OverlaySwitcherMapTool –> Go Back
Gets or sets the rounded corner color of the OverlaySwitcher object.
Return Type |
---|
GeoColor<!– ThinkGeo.MapSuite.Core.GeoColor –> |
<!– ThinkGeo.MapSuite.MvcEdition.OverlaySwitcherMapTool –> Go Back