Products
Professional Services
Demos and Downloads
Help and Support
Products
Professional Services
Demos and Downloads
Help and Support
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.MvcEdition.Overlay *ThinkGeo.MapSuite.MvcEdition.AdornmentOverlay *ThinkGeo.MapSuite.MvcEdition.ArcGISServerRestOverlay *ThinkGeo.MapSuite.MvcEdition.BingMapsOverlay *ThinkGeo.MapSuite.MvcEdition.EditFeatureOverlay *ThinkGeo.MapSuite.MvcEdition.FeatureOverlay *ThinkGeo.MapSuite.MvcEdition.FeatureSourceMarkerOverlay *ThinkGeo.MapSuite.MvcEdition.GoogleOverlay *ThinkGeo.MapSuite.MvcEdition.HighlightFeatureOverlay *ThinkGeo.MapSuite.MvcEdition.InMemoryMarkerOverlay *ThinkGeo.MapSuite.MvcEdition.LayerOverlay *ThinkGeo.MapSuite.MvcEdition.MarkerOverlay *ThinkGeo.MapSuite.MvcEdition.OpenStreetMapOverlay *ThinkGeo.MapSuite.MvcEdition.SimpleMarkerOverlay *ThinkGeo.MapSuite.MvcEdition.WmsOverlay *ThinkGeo.MapSuite.MvcEdition.WmtsOverlay ***ThinkGeo.MapSuite.MvcEdition.WorldMapKitWmsWebOverlay
| Name | Parameters | DeclaringType | Summary |
|---|
| Name | Parameters | DeclaringType | Summary |
|---|---|---|---|
Finalize | Object | ||
MemberwiseClone | Object | ||
RegisterJavaScriptLibraryCore | Page | Registers a Javascript library URL string to the client HTML page. |
| Name | Return | DeclaringType | Summary |
|---|---|---|---|
Attribution | String | ||
AutoRefreshInterval | TimeSpan | Gets or sets the time interval in which the MarkerOverlay refreshes itself. | |
Id | String | Gets the identifier for the overlay to be found. | |
IsBaseOverlay | Boolean | Gets or sets a value that indicates whether the overlay is a base overlay. | |
IsVisible | Boolean | Gets or sets a value that indicates whether the overlay is visible on the map. | |
IsVisibleInOverlaySwitcher | Boolean | Gets or sets a value that indicates whether the overlay name is displayed in the OverlaySwitcher. | |
Name | String | Gets or sets the name of the overlay, which will display in the OverlaySwitcher. | |
OnClientAutoRefreshTick | String | Gets or sets a JavaScript function name which will be executed when the number of milliseconds specified in the AutoRefreshInterval property has elapsed. | |
Opacity | Single | Gets or sets the opacity level of the overlay. |
| Name | Return | DeclaringType | Summary |
|---|---|---|---|
OverlayType | String | Gets a string that indicates which type the overlay is. |
| Name | Event Arguments | DeclaringType | Summary |
|---|
Initialize an instance of the Overlay class.
Initialize an instance of the Overlay class.
| Name | Type | Description |
|---|
Initialize an instance of the Overlay class.
Initialize an instance of the Overlay class.
| Name | Type | Description |
|---|---|---|
| id | String<!– System.String –> |
Initialize an instance of the Overlay class.
Initialize an instance of the Overlay class.
| Name | Type | Description |
|---|---|---|
| id | String<!– System.String –> | |
| isBaseOverlay | Boolean<!– System.Boolean –> |
| 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.Overlay –> 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 which contains the information for creating an overlay at the client side.
| 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.MvcEdition.Overlay –> 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
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.MvcEdition.Overlay –> Go Back
| Return Type |
|---|
| String<!– System.String –> |
<!– ThinkGeo.MapSuite.MvcEdition.Overlay –> Go Back
Gets or sets the time interval in which the MarkerOverlay refreshes itself.
| Return Type |
|---|
| TimeSpan<!– System.TimeSpan –> |
<!– ThinkGeo.MapSuite.MvcEdition.Overlay –> Go Back
Gets the identifier for the overlay to be found.
| Return Type |
|---|
| String<!– System.String –> |
<!– ThinkGeo.MapSuite.MvcEdition.Overlay –> Go Back
Gets or sets a value that indicates whether the overlay is a base overlay.
| Return Type |
|---|
| Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.MvcEdition.Overlay –> Go Back
Gets or sets a value that indicates whether the overlay is visible on the map.
| Return Type |
|---|
| Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.MvcEdition.Overlay –> Go Back
Gets or sets a value that indicates whether the overlay name is displayed in the OverlaySwitcher.
| Return Type |
|---|
| Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.MvcEdition.Overlay –> Go Back
Gets or sets the name of the overlay, which will display in the OverlaySwitcher.
| Return Type |
|---|
| String<!– System.String –> |
<!– ThinkGeo.MapSuite.MvcEdition.Overlay –> Go Back
Gets or sets a JavaScript function name which will be executed when the number of milliseconds specified in the AutoRefreshInterval property has elapsed.
| Return Type |
|---|
| String<!– System.String –> |
<!– ThinkGeo.MapSuite.MvcEdition.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.MvcEdition.Overlay –> Go Back
Gets a string that indicates which type the overlay is.
| Return Type |
|---|
| String<!– System.String –> |
<!– ThinkGeo.MapSuite.MvcEdition.Overlay –> Go Back
8501 Wade Blvd Ste 550
Frisco, TX 75034
United States
sales@thinkgeo.com
1-785-727-4133
Online Store
- Desktop
WPF
WinForms
- Web
WebAPI HTML5/JavaScript
ASP.NET MVC
WebForms with AJAX
- Mobile
iOS
Android™
World Street
World Imagery
Routing
Geocoding
Reverse Geocoding
Elevation
Quick Start Guides
Documentation
Blogs
Discussion Forums
Customer Portal
About Us
News & Announcemets
Privacy Policy
Copyright 2003-2017 ThinkGeo LLC.
All rights reserved.