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 for the overlay that generates and manages markers.
The <strong>MarkerOverlay</strong> class is the base class for any overlay that deals with markers. A <strong>MarkerOverlay</strong> object corresponds to a <strong>div</strong> that holds a group of marker images at the client side. The MarkerOverlay class has a <strong>GetMarkers</strong> method that generates a collection of markers. These markers will be serialized to a JSON string and sent to the client to create the client marker objects. If you want to create your own MarkerOverlay, inherit from this class and override the <strong>GetMarkerCore</strong> method.
*System.Object ThinkGeo.MapSuite.WebEdition.Overlay *ThinkGeo.MapSuite.WebEdition.MarkerOverlay ThinkGeo.MapSuite.WebEdition.FeatureSourceMarkerOverlay ThinkGeo.MapSuite.WebEdition.InMemoryMarkerOverlay ThinkGeo.MapSuite.WebEdition.SimpleMarkerOverlay
| Name | Parameters | DeclaringType | Summary |
|---|
| Name | Parameters | DeclaringType | Summary |
|---|---|---|---|
MarkerOverlay | Initialize a new instance of the MarkerOverlay class. | ||
MarkerOverlay | String | Initialize a new instance of the MarkerOverlay class using the identifier specified. |
| Name | Parameters | DeclaringType | Summary |
|---|---|---|---|
Equals | Object | Object | |
GetHashCode | Object | ||
GetMarkers | RectangleShape, Int32 | Returns a collection of markers based on the extent and zoomlevel that you passed in. | |
GetType | Object | ||
ToJson | Overlay | Returns a JSON string which contains the information for creating an overlay at the client side. | |
ToString | Object |
| Name | Parameters | DeclaringType | Summary |
|---|---|---|---|
Finalize | Object | ||
GetMarkersCore | RectangleShape, Int32 | Returns a collection of markers based on the extent and zoomlevel that you passed in. | |
MemberwiseClone | Object | ||
OnClick | MarkerOverlayClickEventArgs | Raises the Click event of the MarkerOverlay object. | |
OnTick | EventArgs | Overlay | Raises the Tick event of the MarkerOverlay. |
RegisterJavaScriptLibraryCore | Page | Overlay | Registers a Javascript library URL string to the client HTML page. |
| Name | Return | DeclaringType | Summary |
|---|---|---|---|
Attribution | String | Overlay | |
AutoRefreshInterval | TimeSpan | Overlay | Gets or sets the time interval in which the MarkerOverlay refreshes itself. |
Id | String | Overlay | Gets the identifier for the overlay to be found. |
IsBaseOverlay | Boolean | Overlay(overriden) | Gets or sets a value that indicates whether the overlay is a base overlay. |
IsVisible | Boolean | Overlay | Gets or sets a value that indicates whether the overlay is visible on the map. |
IsVisibleInOverlaySwitcher | Boolean | Overlay | Gets or sets a value that indicates whether the overlay name is displayed in the OverlaySwitcher. |
Name | String | Overlay | Gets or sets the name of the overlay, which will display in the OverlaySwitcher. |
Opacity | Single | Overlay | Gets or sets the opacity level of the overlay. |
| Name | Return | DeclaringType | Summary |
|---|---|---|---|
HasTickEvent | Boolean | Overlay | Indicates whether the overlay supports tick event. |
OverlayType | String | Overlay(overriden) | Gets a string that indicates the overlay type. |
| Name | Event Arguments | DeclaringType | Summary |
|---|---|---|---|
Click | MarkerOverlayClickEventArgs | Occurs when a marker in the overlay is clicked. | |
Tick | EventArgs | Overlay | Occurs when the number of milliseconds specified in the AutoRefreshInterval property has elapsed and the page is posted to the server. |
Initialize a new instance of the MarkerOverlay class.
Initialize a new instance of the MarkerOverlay class.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerOverlay#MarkerOverlay.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerOverlay#MarkerOverlay.28.29</a>
| Name | Type | Description |
|---|
Initialize a new instance of the MarkerOverlay class using the identifier specified.
Initialize a new instance of the MarkerOverlay class.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerOverlay#MarkerOverlay.28String.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerOverlay#MarkerOverlay.28String.29</a>
| Name | Type | Description |
|---|---|---|
| id | String<!– System.String –> | The identifier string 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.MarkerOverlay#Equals.28Object.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerOverlay#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.MarkerOverlay#GetHashCode.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerOverlay#GetHashCode.28.29</a>
| Return Type | Description |
|---|---|
| Int32<!– System.Int32 –> |
| Name | Type | Description |
|---|
<!– System.Object –> Go Back
Returns a collection of markers based on the extent and zoomlevel that you passed in.
The <strong>GetMarkers</strong> method creates the makrers based on the current zoomlevel, the specified extent and the special logic of the MarkerOverlay. The returned markers object will be serialized and sent to the client to create client markers.
| Return Type | Description |
|---|---|
| Collection<Marker><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.WebEdition.Marker} –> | A collection of marker objects that will be serialized to the client. |
| Name | Type | Description |
|---|---|---|
| worldExtent | RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –> | The extent that includes all of the markers you want to serialize. |
| currentZoomLevelId | Int32<!– System.Int32 –> | An int value that indicates which zoomlevel the map is currently at. |
<!– ThinkGeo.MapSuite.WebEdition.MarkerOverlay –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerOverlay#GetType.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerOverlay#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.MarkerOverlay#ToJson.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerOverlay#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.MarkerOverlay#ToString.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerOverlay#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.MarkerOverlay#Finalize.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerOverlay#Finalize.28.29</a>
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|
<!– System.Object –> Go Back
Returns a collection of markers based on the extent and zoomlevel that you passed in.
The GetMarkersCore method allows derived classes to rewrite the logic used for dynamically creating the markers that will be serialized to the client.
| Return Type | Description |
|---|---|
| Collection<Marker><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.WebEdition.Marker} –> | A collection of Marker objects that will be serialized to the client. |
| Name | Type | Description |
|---|---|---|
| worldExtent | RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –> | The extent that includes all of the markers you want to serialize. |
| currentZoomLevelId | Int32<!– System.Int32 –> | An int value that indicates which zoomlevel the map is currently at. |
<!– ThinkGeo.MapSuite.WebEdition.MarkerOverlay –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerOverlay#MemberwiseClone.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerOverlay#MemberwiseClone.28.29</a>
| Return Type | Description |
|---|---|
| Object<!– System.Object –> |
| Name | Type | Description |
|---|
<!– System.Object –> Go Back
Raises the Click event of the MarkerOverlay object.
The <strong>OnClick</strong> method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.<strong>Notes to Inheritors:</strong> When overriding <strong>OnClick</strong> in a derived class, be sure to call the base class's <strong>OnClick</strong> method so that registered delegates receive the event.
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|---|---|
| e | MarkerOverlayClickEventArgs<!– ThinkGeo.MapSuite.WebEdition.MarkerOverlayClickEventArgs –> | The MarkerOverlayClickEventArgs that contains event data. |
<!– ThinkGeo.MapSuite.WebEdition.MarkerOverlay –> 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.MarkerOverlay#OnTick.28EventArgs.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerOverlay#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.MarkerOverlay#Attribution” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerOverlay#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.MarkerOverlay#AutoRefreshInterval” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerOverlay#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.MarkerOverlay#Id” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerOverlay#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.
The MarkerOverlay can only be a non-base overlay. If you set the <strong>IsBaseOverlay</strong> property to true, there will be an exception thrown.
| Return Type |
|---|
| Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.WebEdition.Overlay(overriden) –> 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.MarkerOverlay#IsVisible” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerOverlay#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.MarkerOverlay#IsVisibleInOverlaySwitcher” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerOverlay#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.MarkerOverlay#Name” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerOverlay#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.MarkerOverlay#HasTickEvent” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerOverlay#HasTickEvent</a>
| Return Type |
|---|
| Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.WebEdition.Overlay –> Go Back
Gets a string that indicates the overlay type.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerOverlay#OverlayType” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerOverlay#OverlayType</a>
| Return Type |
|---|
| String<!– System.String –> |
<!– ThinkGeo.MapSuite.WebEdition.Overlay(overriden) –> Go Back
Occurs when a marker in the overlay is clicked.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerOverlay#OnClick.28MarkerOverlayClickEventArgs.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerOverlay#OnClick.28MarkerOverlayClickEventArgs.29</a>
| Event Arguments |
|---|
| MarkerOverlayClickEventArgs<!– ThinkGeo.MapSuite.WebEdition.MarkerOverlayClickEventArgs –> |
<!– ThinkGeo.MapSuite.WebEdition.MarkerOverlay –> 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.MarkerOverlay#OnTick.28EventArgs.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.MarkerOverlay#OnTick.28EventArgs.29</a>
| Event Arguments |
|---|
| EventArgs<!– System.EventArgs –> |
<!– ThinkGeo.MapSuite.WebEdition.Overlay –> Go Back
NOTOC WebEdition ThinkGeo.MapSuite.WebEdition UpdateDocumentation
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.