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 MarkerOverlay object to which you can add markers directly.
The <strong>SimpleMarkerOverlay</strong> class has a <strong>Markers</strong> collection to which you can add markers directly. All of these markers will be serialized to the client during the map loading. You can also specify whether the markers can be dragged by setting the <strong>DragMode</strong> property.
*System.Object ThinkGeo.MapSuite.MvcEdition.Overlay *ThinkGeo.MapSuite.MvcEdition.MarkerOverlay ThinkGeo.MapSuite.MvcEdition.SimpleMarkerOverlay
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | Initialize an instance of the SimpleMarkerOverlay class. | ||
![]() | String | Initialize an instance of the SimpleMarkerOverlay class with the specified identifier of this overlay. |
Name | Parameters | DeclaringType | Summary |
---|
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | String, String | MarkerOverlay | |
![]() | Object | Object | |
![]() | String | Overlay | Load this object from a json string. |
![]() | Object | ||
![]() | RectangleShape, Int32 | MarkerOverlay | Returns a collection of markers based on the extent and zoomlevel that you passed in. |
![]() | Object | ||
![]() | Overlay | Returns a JSON string which contains the information for creating an overlay at the client side. | |
![]() | Object |
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | Object | ||
![]() | RectangleShape, Int32 | MarkerOverlay(overriden) | Returns a collection of markers that are within the specified worldExtent in this SimpleMarkerOverlay. |
![]() | Object | ||
![]() | Page | Overlay | Registers a Javascript library URL string to the client HTML page. |
Name | Return | DeclaringType | Summary |
---|---|---|---|
![]() | Collection<ActionTrigger> | MarkerOverlay | |
![]() | String | Overlay | |
![]() | TimeSpan | Overlay | Gets or sets the time interval in which the MarkerOverlay refreshes itself. |
![]() | MarkerDragMode | Gets a value that specifies how the markers can be dragged. | |
![]() | String | Overlay | Gets the identifier for the overlay to be found. |
![]() | Boolean | Overlay(overriden) | |
![]() | Boolean | Overlay | Gets or sets a value that indicates whether the overlay is visible on the map. |
![]() | Boolean | Overlay | Gets or sets a value that indicates whether the overlay name is displayed in the OverlaySwitcher. |
![]() | GeoKeyedCollection<Marker> | Gets a collection of markers that are serialized to the client. | |
![]() | String | Overlay | Gets or sets the name of the overlay, which will display in the OverlaySwitcher. |
![]() | String | Overlay | Gets or sets a JavaScript function name which will be executed when the number of milliseconds specified in the AutoRefreshInterval property has elapsed. |
![]() | String | MarkerOverlay | Gets or sets a client function name which will be executed after clicking on the MarkerOverlay |
![]() | String | Gets or sets a client function name which will be executed after clicking on the MarkerOverlay | |
![]() | String | MarkerOverlay | |
![]() | String | MarkerOverlay | |
![]() | Single | Overlay | Gets or sets the opacity level of the overlay. |
Name | Return | DeclaringType | Summary |
---|---|---|---|
![]() | String | Overlay(overriden) | Gets a string that indicates the overlay type. |
Name | Event Arguments | DeclaringType | Summary |
---|
Initialize an instance of the SimpleMarkerOverlay class.
Initialize an instance of the SimpleMarkerOverlay class.
Name | Type | Description |
---|
Initialize an instance of the SimpleMarkerOverlay class with the specified identifier of this overlay.
Initialize an instance of the SimpleMarkerOverlay class.
Name | Type | Description |
---|---|---|
id | String<!– System.String –> | The identifier string of the SimpleMarkerOverlay. |
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
controllerName | String<!– System.String –> | |
actionName | String<!– System.String –> |
<!– ThinkGeo.MapSuite.MvcEdition.MarkerOverlay –> Go Back
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
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.MvcEdition.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.MvcEdition.MarkerOverlay –> 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
Returns a collection of markers that are within the specified worldExtent in this SimpleMarkerOverlay.
This method is not used.
Return Type | Description |
---|---|
Collection<Marker><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.MvcEdition.Marker} –> | A collection of marker objects. |
Name | Type | Description |
---|---|---|
worldExtent | RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –> | The extent that includes the markers. |
currentZoomLevelId | Int32<!– System.Int32 –> | An int value that indicates which zoomlevel the map is currently at. |
<!– ThinkGeo.MapSuite.MvcEdition.MarkerOverlay(overriden) –> 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 |
---|
Collection<ActionTrigger><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.MvcEdition.ActionTrigger} –> |
<!– ThinkGeo.MapSuite.MvcEdition.MarkerOverlay –> 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 a value that specifies how the markers can be dragged.
Return Type |
---|
MarkerDragMode<!– ThinkGeo.MapSuite.MvcEdition.MarkerDragMode –> |
<!– ThinkGeo.MapSuite.MvcEdition.SimpleMarkerOverlay –> Go Back
Gets the identifier for the overlay to be found.
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.MvcEdition.Overlay –> Go Back
Return Type |
---|
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.MvcEdition.Overlay(overriden) –> 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 a collection of markers that are serialized to the client.
Return Type |
---|
GeoKeyedCollection<Marker><!– ThinkGeo.MapSuite.MvcEdition.GeoKeyedCollection{ThinkGeo.MapSuite.MvcEdition.Marker} –> |
<!– ThinkGeo.MapSuite.MvcEdition.SimpleMarkerOverlay –> 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 a client function name which will be executed after clicking on the MarkerOverlay
There is a default parameter:e, which includes two parameters: “worldXY”, “overlayId”
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.MvcEdition.MarkerOverlay –> Go Back
Gets or sets a client function name which will be executed after clicking on the MarkerOverlay
There is a default parameter:e, which includes three parameters: “worldXY”, “overlayId” and “markerId”
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.MvcEdition.SimpleMarkerOverlay –> Go Back
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.MvcEdition.MarkerOverlay –> Go Back
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.MvcEdition.MarkerOverlay –> 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 the overlay type.
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.MvcEdition.Overlay(overriden) –> Go Back