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 overlays that contain features and paint the features at client side.
The <strong>FeatureOverlay</strong> class is the base class for the overlays that need to draw features at client side. An instance of <strong>FeatureOverlay</strong> corresponds to an OpenLayer's vector layer at the client side.
All features in the <strong>Features</strong> collection will be serialized to the client and drawn as the <strong>Style</strong> property specifies.
<strong>Note:</strong> The <strong>Features</strong> property exposes the internal features of the <strong>FeatureSource</strong> property.
The <strong>FeatureSource</strong> property provides you with a batch of properties and functions that affect its internal features.
The <strong>Columns</strong> collection defines the column names for the feature data. It will be used to fetch a certain column from the data.
The <strong>QueryTools</strong> and <strong>EditTools</strong> provide you an easy way to query or edit features.
*System.Object ThinkGeo.MapSuite.MvcEdition.Overlay *ThinkGeo.MapSuite.MvcEdition.FeatureOverlay ThinkGeo.MapSuite.MvcEdition.EditFeatureOverlay ThinkGeo.MapSuite.MvcEdition.HighlightFeatureOverlay
| Name | Parameters | DeclaringType | Summary |
|---|
| Name | Parameters | DeclaringType | Summary |
|---|---|---|---|
FeatureOverlay | This is constructor of FeatureOverlay class. | ||
FeatureOverlay | String | This is constructor of FeatureOverlay class. | |
FeatureOverlay | String, Boolean | This is constructor of FeatureOverlay class. |
| Name | Parameters | DeclaringType | Summary |
|---|---|---|---|
Finalize | Object | ||
MemberwiseClone | Object | ||
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. |
Columns | Collection<FeatureSourceColumn> | Gets a collection of FeatureSourceColumns, which specifies the column names of the feature data. | |
EditTools | EditTools | Gets the EditTools that allow you to easily edit features in the FeatureOverlay. | |
FeatureSource | InMemoryFeatureSource | Gets the FeatureSource of the FeatureOverlay. | |
Features | GeoCollection<Feature> | Gets a collection of features that will be serialized to the client for drawing and editing. | |
Id | String | Overlay | Gets the identifier for the overlay to be found. |
IsBaseOverlay | Boolean | Overlay | 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. |
OnClientAutoRefreshTick | 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. |
Opacity | Single | Overlay | Gets or sets the opacity level of the overlay. |
QueryTools | QueryTools | Gets the QueryTools that allow you to easily query features from the FeatureOverlay. | |
Style | FeatureOverlayStyle | Gets or sets a FeatureOverlayStyle object, which determines how the features are drawn at the client side. |
| Name | Return | DeclaringType | Summary |
|---|---|---|---|
OverlayType | String | Overlay(overriden) | Gets a string that indicates which type the overlay is. |
| Name | Event Arguments | DeclaringType | Summary |
|---|
This is constructor of FeatureOverlay class.
| Name | Type | Description |
|---|
This is constructor of FeatureOverlay class.
| Name | Type | Description |
|---|---|---|
| id | String<!– System.String –> | A string value indicates the Id property of this object. |
This is constructor of FeatureOverlay class.
| Name | Type | Description |
|---|---|---|
| id | String<!– System.String –> | A string value indicates the Id property of this object. |
| isBaseOverlay | Boolean<!– System.Boolean –> | A boolean value indicates whether this overlay is base overlay or not. |
| 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 a collection of FeatureSourceColumns, which specifies the column names of the feature data.
| Return Type |
|---|
| Collection<FeatureSourceColumn><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.Core.FeatureSourceColumn} –> |
<!– ThinkGeo.MapSuite.MvcEdition.FeatureOverlay –> Go Back
Gets the EditTools that allow you to easily edit features in the FeatureOverlay.
| Return Type |
|---|
| EditTools<!– ThinkGeo.MapSuite.Core.EditTools –> |
<!– ThinkGeo.MapSuite.MvcEdition.FeatureOverlay –> Go Back
Gets the FeatureSource of the FeatureOverlay.
| Return Type |
|---|
| InMemoryFeatureSource<!– ThinkGeo.MapSuite.Core.InMemoryFeatureSource –> |
<!– ThinkGeo.MapSuite.MvcEdition.FeatureOverlay –> Go Back
Gets a collection of features that will be serialized to the client for drawing and editing.
| Return Type |
|---|
| GeoCollection<Feature><!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.Core.Feature} –> |
<!– ThinkGeo.MapSuite.MvcEdition.FeatureOverlay –> 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 the QueryTools that allow you to easily query features from the FeatureOverlay.
| Return Type |
|---|
| QueryTools<!– ThinkGeo.MapSuite.Core.QueryTools –> |
<!– ThinkGeo.MapSuite.MvcEdition.FeatureOverlay –> Go Back
Gets or sets a FeatureOverlayStyle object, which determines how the features are drawn at the client side.
| Return Type |
|---|
| FeatureOverlayStyle<!– ThinkGeo.MapSuite.MvcEdition.FeatureOverlayStyle –> |
<!– ThinkGeo.MapSuite.MvcEdition.FeatureOverlay –> Go Back
Gets a string that indicates which type the overlay is.
| Return Type |
|---|
| String<!– System.String –> |
<!– ThinkGeo.MapSuite.MvcEdition.Overlay(overriden) –> 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.