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 –> Serves as the base class that defines the properties and methods shared by all types of overlays.
The <strong>Overlay</strong> has as similar concept to the Layer. Different types of overlays stack over each other to form a map. An overlay object is responsible for getting the configuration information from the user and serializing it to a JSON string to control the client Javascript library, which creates the appropriate client layer.Usually, an overlay represents an image with a transparent background that is laid upon other overlay, such as a <strong>LayerOverlay</strong> or <strong>WmsOverlay</strong>. While the <strong>MarkerOverlay</strong> will not be rendered as an image, it actually represents a <strong>div</strong> that holds several marker images at the client side.There are basically two kinds of overlays: base overlays and non-base overlays.A base overlay has its <strong>IsBaseOverlay</strong> property set to true. It is displayed as the background image of the map. In an <strong>OverlaySwitcher</strong>, there is a radio button beside its name. There can be only one base overlay displayed at a time. You can click the radio button to switch the base overlay that is displayed.A non-base overlay has a false <strong>IsBaseOverlay</strong> property. These overlays can overlap the base overlay and/or each other. They are displayed in the <strong>OverlaySwitcher</strong> with a check box beside their name. You can click the check box to show or hide a specific overlay.
*System.Object ThinkGeo.MapSuite.WebEdition.Overlay *ThinkGeo.MapSuite.WebEdition.AdornmentOverlay *ThinkGeo.MapSuite.WebEdition.ArcGISServerRestOverlay *ThinkGeo.MapSuite.WebEdition.BingMapsOverlay *ThinkGeo.MapSuite.WebEdition.EditFeatureOverlay *ThinkGeo.MapSuite.WebEdition.FeatureOverlay *ThinkGeo.MapSuite.WebEdition.FeatureSourceMarkerOverlay *ThinkGeo.MapSuite.WebEdition.GoogleOverlay *ThinkGeo.MapSuite.WebEdition.HighlightFeatureOverlay *ThinkGeo.MapSuite.WebEdition.InMemoryMarkerOverlay *ThinkGeo.MapSuite.WebEdition.LayerOverlay *ThinkGeo.MapSuite.WebEdition.MarkerOverlay *ThinkGeo.MapSuite.WebEdition.OpenStreetMapOverlay *ThinkGeo.MapSuite.WebEdition.SimpleMarkerOverlay *ThinkGeo.MapSuite.WebEdition.WmsOverlay *ThinkGeo.MapSuite.WebEdition.WmtsOverlay ***ThinkGeo.MapSuite.WebEdition.WorldMapKitWmsWebOverlay
Name | Parameters | DeclaringType | Summary |
---|
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | Object | Object | |
![]() | Object | ||
![]() | Object | ||
![]() | Returns a JSON string which contains the information for creating an overlay at the client side. | ||
![]() | Object |
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | Object | ||
![]() | Object | ||
![]() | EventArgs | Raises the Tick event of the MarkerOverlay. | |
![]() | Page | Registers a Javascript library URL string to the client HTML page. |
Name | Return | DeclaringType | Summary |
---|---|---|---|
![]() | String | ||
![]() | TimeSpan | Gets or sets the time interval in which the MarkerOverlay refreshes itself. | |
![]() | String | Gets the identifier for the overlay to be found. | |
![]() | Boolean | Gets or sets a value that indicates whether the overlay is a base overlay. | |
![]() | Boolean | Gets or sets a value that indicates whether the overlay is visible on the map. | |
![]() | Boolean | Gets or sets a value that indicates whether the overlay name is displayed in the OverlaySwitcher. | |
![]() | String | Gets or sets the name of the overlay, which will display in the OverlaySwitcher. | |
![]() | Single | Gets or sets the opacity level of the overlay. |
Name | Return | DeclaringType | Summary |
---|---|---|---|
![]() | Boolean | Indicates whether the overlay supports tick event. | |
![]() | String | Gets a string that indicates which type the overlay is. |
Name | Event Arguments | DeclaringType | Summary |
---|---|---|---|
![]() | EventArgs | Occurs when the number of milliseconds specified in the AutoRefreshInterval property has elapsed and the page is posted to the server. |
Initialize an instance of the Overlay class.
Initialize an instance of the Overlay class.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#Overlay.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#Overlay.28.29</a>
Name | Type | Description |
---|
Initialize an instance of the Overlay class.
Initialize an instance of the Overlay class.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#Overlay.28String.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#Overlay.28String.29</a>
Name | Type | Description |
---|---|---|
id | String<!– System.String –> |
Initialize an instance of the Overlay class.
Initialize an instance of the Overlay class.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#Overlay.28String.2C_Boolean.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#Overlay.28String.2C_Boolean.29</a>
Name | Type | Description |
---|---|---|
id | String<!– System.String –> | |
isBaseOverlay | Boolean<!– System.Boolean –> |
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#Equals.28Object.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#Equals.28Object.29</a>
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> |
Name | Type | Description |
---|---|---|
obj | Object<!– System.Object –> |
<!– System.Object –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#GetHashCode.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#GetHashCode.28.29</a>
Return Type | Description |
---|---|
Int32<!– System.Int32 –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#GetType.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#GetType.28.29</a>
Return Type | Description |
---|---|
Type<!– System.Type –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Returns a JSON string which contains the information for creating an overlay at the client side.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#ToJson.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#ToJson.28.29</a>
Return Type | Description |
---|---|
String<!– System.String –> | A JSON string which is used to create an overlay at the client side. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.WebEdition.Overlay –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#ToString.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#ToString.28.29</a>
Return Type | Description |
---|---|
String<!– System.String –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#Finalize.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#Finalize.28.29</a>
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#MemberwiseClone.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#MemberwiseClone.28.29</a>
Return Type | Description |
---|---|
Object<!– System.Object –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Raises the Tick event of the MarkerOverlay.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#OnTick.28EventArgs.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#OnTick.28EventArgs.29</a>
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
e | EventArgs<!– System.EventArgs –> | An System.EventArgs object that contains the event data. |
<!– ThinkGeo.MapSuite.WebEdition.Overlay –> Go Back
Registers a Javascript library URL string to the client HTML page.
The <strong>RegisterJavaScriptLibraryCore</strong> method allows derived classes to override and register their own Javascript library URL to the HTML page.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
page | Page<!– System.Web.UI.Page –> | The page object that is used for registering the javascript library. |
<!– ThinkGeo.MapSuite.WebEdition.Overlay –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#Attribution” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#Attribution</a>
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.WebEdition.Overlay –> Go Back
Gets or sets the time interval in which the MarkerOverlay refreshes itself.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#AutoRefreshInterval” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#AutoRefreshInterval</a>
Return Type |
---|
TimeSpan<!– System.TimeSpan –> |
<!– ThinkGeo.MapSuite.WebEdition.Overlay –> Go Back
Gets the identifier for the overlay to be found.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#Id” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#Id</a>
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.WebEdition.Overlay –> Go Back
Gets or sets a value that indicates whether the overlay is a base overlay.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#IsBaseOverlay” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#IsBaseOverlay</a>
Return Type |
---|
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.WebEdition.Overlay –> Go Back
Gets or sets a value that indicates whether the overlay is visible on the map.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#IsVisible” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#IsVisible</a>
Return Type |
---|
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.WebEdition.Overlay –> Go Back
Gets or sets a value that indicates whether the overlay name is displayed in the OverlaySwitcher.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#IsVisibleInOverlaySwitcher” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#IsVisibleInOverlaySwitcher</a>
Return Type |
---|
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.WebEdition.Overlay –> Go Back
Gets or sets the name of the overlay, which will display in the OverlaySwitcher.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#Name” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#Name</a>
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.WebEdition.Overlay –> Go Back
Gets or sets the opacity level of the overlay.
The <strong>Opacity</strong> property enables you to specify a level of transparency for the overlay. When this property is set to a value less than 100 percent (1.00), the entire overlay is made more transparent. The lower the value, the more transparent it is. Setting this property to a value of 0 percent (0.00) makes the overlay completely invisible.
Return Type |
---|
Single<!– System.Single –> |
<!– ThinkGeo.MapSuite.WebEdition.Overlay –> Go Back
Indicates whether the overlay supports tick event.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#HasTickEvent” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#HasTickEvent</a>
Return Type |
---|
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.WebEdition.Overlay –> Go Back
Gets a string that indicates which type the overlay is.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#OverlayType” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#OverlayType</a>
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.WebEdition.Overlay –> Go Back
Occurs when the number of milliseconds specified in the AutoRefreshInterval property has elapsed and the page is posted to the server.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#OnTick.28EventArgs.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Overlay#OnTick.28EventArgs.29</a>
Event Arguments |
---|
EventArgs<!– System.EventArgs –> |
<!– ThinkGeo.MapSuite.WebEdition.Overlay –> Go Back
NOTOC WebEdition ThinkGeo.MapSuite.WebEdition UpdateDocumentation