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 that dynamically creates markers from the feature source specified.
The <strong>FeatureSourceMarkerOverlay</strong> generates markers from the features retrieved from its <strong>FeatureSource</strong>. Thus, you need to set the <strong>FeatureSource</strong> property before the marker overlay can create the markers. The <strong>ZoomLevelSet</strong> property is an entrance for you to define the marker styles on zoomlevels.
*System.Object ThinkGeo.MapSuite.MvcEdition.Overlay *ThinkGeo.MapSuite.MvcEdition.MarkerOverlay ThinkGeo.MapSuite.MvcEdition.FeatureSourceMarkerOverlay
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | Initialize an instance of the FeatureMarkerOverlay class. | ||
![]() | String | Initialize an instance of the FeatureMarkerOverlay class. | |
![]() | String, FeatureSource | Initialize an instance of the FeatureMarkerOverlay class. |
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 based on the extent and zoomlevel that you passed in. |
![]() | 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. |
![]() | FeatureSource | Gets or sets a feature source object that provides the features from which the markers are created. | |
![]() | 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. |
![]() | 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 | MarkerOverlay | |
![]() | String | MarkerOverlay | |
![]() | Single | Overlay | Gets or sets the opacity level of the overlay. |
![]() | Int32 | Gets or sets the grid size in screen coordinate to suppress markers in current Viewport. | |
![]() | MarkerZoomLevelSet | Gets the ZoomLevelSet object that controls the markers' generation. |
Name | Return | DeclaringType | Summary |
---|---|---|---|
![]() | String | Overlay(overriden) |
Name | Event Arguments | DeclaringType | Summary |
---|
Initialize an instance of the FeatureMarkerOverlay class.
Initialize an instance of the FeatureMarkerOverlay class.
Name | Type | Description |
---|
Initialize an instance of the FeatureMarkerOverlay class.
Initialize an instance of the FeatureMarkerOverlay class.
Name | Type | Description |
---|---|---|
id | String<!– System.String –> | The identifier string used for retrieving the overlay. |
Initialize an instance of the FeatureMarkerOverlay class.
Initialize an instance of the FeatureMarkerOverlay class.
Name | Type | Description |
---|---|---|
id | String<!– System.String –> | The identifier string used for retrieving the overlay. |
featureSource | FeatureSource<!– ThinkGeo.MapSuite.Core.FeatureSource –> | The feature source object that provides the features from which the markers are created. |
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 based on the extent and zoomlevel that you passed in.
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 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(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 or sets a feature source object that provides the features from which the markers are created.
Return Type |
---|
FeatureSource<!– ThinkGeo.MapSuite.Core.FeatureSource –> |
<!– ThinkGeo.MapSuite.MvcEdition.FeatureSourceMarkerOverlay –> 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 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
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 or sets the grid size in screen coordinate to suppress markers in current Viewport.
Current ViewPort will be split into several cells by FilterGridSize, one cell will contains only one marker in it, in another word, markers which are near too close will be removed. if the value is greater than 0, this function will be enabled.
Return Type |
---|
Int32<!– System.Int32 –> |
<!– ThinkGeo.MapSuite.MvcEdition.FeatureSourceMarkerOverlay –> Go Back
Gets the ZoomLevelSet object that controls the markers' generation.
Return Type |
---|
MarkerZoomLevelSet<!– ThinkGeo.MapSuite.MvcEdition.MarkerZoomLevelSet –> |
<!– ThinkGeo.MapSuite.MvcEdition.FeatureSourceMarkerOverlay –> Go Back
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.MvcEdition.Overlay(overriden) –> Go Back