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 an Overlay that contains layers.
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | Initialize an instance of the LayerOverlay class. | ||
![]() | String | Initialize an instance of the LayerOverlay class with the overlay identifier specified. | |
![]() | String, Boolean, TileType | Initialize an instance of the LayerOverlay class with the overlay identifier, IsBaseOverlay boolean value and the value indicating whether to use tiling. |
Name | Parameters | DeclaringType | Summary |
---|
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | String, String | ||
![]() | GeoCanvas, Object, RectangleShape, GeographyUnit | Draw all of the layers to the image object using the parameters specified. | |
![]() | Object | Object | |
![]() | String | Overlay | Load this object from a json string. |
![]() | Double, RectangleShape, GeographyUnit | Generates the images to the server cache by scale. | |
![]() | ZoomLevel, RectangleShape, GeographyUnit | Generates images to the server cache by zoomLevel. | |
![]() | Returns an EPSG string that indicates the projection of the LayerOverlay. | ||
![]() | Gets the smallest extent that includes all of the features of all layers in the LayerOverlay. | ||
![]() | Object | ||
![]() | Object | ||
![]() | Redraw this overlay. | ||
![]() | String | Sets the EPSG projection of the LayerOverlay when it is a base overlay. | |
![]() | Overlay | Returns a JSON string which contains the information for creating an overlay at the client side. | |
![]() | Object |
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | GeoCanvas, Object, RectangleShape, GeographyUnit | Draw all of the layers to the image object using the parameters specified. | |
![]() | Object | ||
![]() | Object | ||
![]() | Page | Overlay | Registers a Javascript library URL string to the client HTML page. |
Name | Return | DeclaringType | Summary |
---|---|---|---|
![]() | Collection<ActionTrigger> | ||
![]() | String | Overlay | |
![]() | TimeSpan | Overlay | Gets or sets the time interval in which the MarkerOverlay refreshes itself. |
![]() | ClientCache | Gets or sets the ClientCache object that contains the configuration for the browser cache of this overlay. | |
![]() | String | Overlay | Gets the identifier for the overlay to be found. |
![]() | Boolean | Overlay | Gets or sets a value that indicates whether the overlay is a base overlay. |
![]() | Boolean | Gets or sets whether the multi-thread is disabled or not. | |
![]() | Boolean | Overlay(overriden) | 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. |
![]() | Int32 | Gets or sets the quality of the JPEG image that is sent to the web browser. Valid values are between 1 - 100, inclusive. | |
![]() | GeoCollection<Layer> | Gets a GeoCollection that contains the layers that will draw on the image that is sent to the browser. | |
![]() | 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. |
![]() | Single | Overlay | Gets or sets the opacity level of the overlay. |
![]() | ServerCache | Gets or sets the server cache in the overlay. | |
![]() | Int32 | Gets or sets the height of each tile if the layer is in MultipleTile mode. | |
![]() | Int32 | Gets or sets the number of extra rows and colums of tiles on each side that will surround the minimum grid tiles to cover the map. Used only when in MultipleTile mode. | |
![]() | TileType | Gets or sets whether or not the LayerOverlay uses tiling. | |
![]() | Int32 | Gets or sets the width of each tile if the layer is in MultipleTile mode. | |
![]() | TransitionEffect | Gets or sets the transition effect to use when the map is zoomed. | |
![]() | Int32 | ||
![]() | WebImageFormat | Gets or sets the format of the image that is sent to the web browser. | |
![]() | WrapDatelineMode | Gets or sets a value that indicates whether the overlay wraps at the date line. |
Name | Return | DeclaringType | Summary |
---|---|---|---|
![]() | String | Gets or sets extra parameters for current overlay. | |
![]() | String | Overlay(overriden) | Gets a string that indicates the overlay type. |
![]() | String | Gets or sets projection of current overlay for requesting images. |
Name | Event Arguments | DeclaringType | Summary |
---|
Initialize an instance of the LayerOverlay class.
Initialize an instance of the LayerOverlay class.
Name | Type | Description |
---|
Initialize an instance of the LayerOverlay class with the overlay identifier specified.
Initialize an instance of the LayerOverlay class.
Name | Type | Description |
---|---|---|
id | String<!– System.String –> | The identifier string used to retrieve the overlay for collection. |
Initialize an instance of the LayerOverlay class with the overlay identifier, IsBaseOverlay boolean value and the value indicating whether to use tiling.
Initialize an instance of the LayerOverlay class.
Name | Type | Description |
---|---|---|
id | String<!– System.String –> | The identifier string used to retrieve the overlay for collection. |
isBaseOverlay | Boolean<!– System.Boolean –> | A boolean value that indicates whether this overlay is a base overlay. |
tileType | TileType<!– ThinkGeo.MapSuite.MvcEdition.TileType –> | The TileType that indicates whether this overlay uses tiling. |
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
controllerName | String<!– System.String –> | |
actionName | String<!– System.String –> |
<!– ThinkGeo.MapSuite.MvcEdition.LayerOverlay –> Go Back
Draw all of the layers to the image object using the parameters specified.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
canvas | GeoCanvas<!– ThinkGeo.MapSuite.Core.GeoCanvas –> | The GeoCanvas object that the layers will draw on. |
nativeImage | Object<!– System.Object –> | The image object to which all of the layers will be drawn. Usually it is a bitmap. |
canvasExtent | RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –> | The extent in which the features of the layers will be drawn. |
mapUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | The geographic unit that the map will use to draw. |
<!– ThinkGeo.MapSuite.MvcEdition.LayerOverlay –> 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
Generates the images to the server cache by scale.
Generates the images to the server cache.
This method will generate images to the server cache if you enable the ServerCache on this LayerOverlay. You can use this method to fill your server cache to enhance the performance of your web site.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
scale | Double<!– System.Double –> | The scale that is used to calculate the coordinates of the images. |
cacheExtent | RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –> | The extent of the region for which the cache images will be generated. |
mapUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | The unit of map. |
<!– ThinkGeo.MapSuite.MvcEdition.LayerOverlay –> Go Back
Generates images to the server cache by zoomLevel.
Generates the images to the server cache.
This method will generate images to the server cache if you enable the ServerCache on this LayerOverlay. You can use this method to fill your server cache to enhance the performance of your web site.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
zoomLevel | ZoomLevel<!– ThinkGeo.MapSuite.Core.ZoomLevel –> | The zoomlevel at which the images will be generated. |
cacheExtent | RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –> | The extent of the region for which the cached images will be generated. |
mapUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | The unit of map. |
<!– ThinkGeo.MapSuite.MvcEdition.LayerOverlay –> Go Back
Returns an EPSG string that indicates the projection of the LayerOverlay.
Return Type | Description |
---|---|
String<!– System.String –> | An EPSG string that indicates the projection of the LayerOverlay. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.MvcEdition.LayerOverlay –> Go Back
Gets the smallest extent that includes all of the features of all layers in the LayerOverlay.
If you have several layers, with one justified up and to the right and another justified down and to the left, this method will combine all of the current extents to make one composite extent.
Return Type | Description |
---|---|
RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –> | The smallest extent that includes all of the features of all layers in the LayerOverlay. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.MvcEdition.LayerOverlay –> 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
Redraw this overlay.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.MvcEdition.LayerOverlay –> Go Back
Sets the EPSG projection of the LayerOverlay when it is a base overlay.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
epsgProjection | String<!– System.String –> | A string that represents the projection of the LayerOverlay. |
<!– ThinkGeo.MapSuite.MvcEdition.LayerOverlay –> 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
Draw all of the layers to the image object using the parameters specified.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
canvas | GeoCanvas<!– ThinkGeo.MapSuite.Core.GeoCanvas –> | The GeoCanvas object that the layers will draw on. |
nativeImage | Object<!– System.Object –> | The image object to which all of the layers will be drawn. Usually it is a bitmap. |
canvasExtent | RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –> | The extent in which the features of the layers will be drawn. |
mapUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | The geographic unit that the map will use to draw. |
<!– ThinkGeo.MapSuite.MvcEdition.LayerOverlay –> 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 |
---|
Collection<ActionTrigger><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.MvcEdition.ActionTrigger} –> |
<!– ThinkGeo.MapSuite.MvcEdition.LayerOverlay –> 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 the ClientCache object that contains the configuration for the browser cache of this overlay.
Return Type |
---|
ClientCache<!– ThinkGeo.MapSuite.MvcEdition.ClientCache –> |
<!– ThinkGeo.MapSuite.MvcEdition.LayerOverlay –> 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 whether the multi-thread is disabled or not.
Return Type |
---|
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.MvcEdition.LayerOverlay –> 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(overriden) –> 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 quality of the JPEG image that is sent to the web browser. Valid values are between 1 - 100, inclusive.
The <strong>JpegQuality</strong> property determines the quality of the JPEG image that is sent to the browser if the WebImageFormat is Jpeg. Setting this property to a lower value will reduce the image filesize. The value must be between 1 - 100. The default is 100.
Return Type |
---|
Int32<!– System.Int32 –> |
<!– ThinkGeo.MapSuite.MvcEdition.LayerOverlay –> Go Back
Gets a GeoCollection that contains the layers that will draw on the image that is sent to the browser.
The <strong>Layers</strong> property holds all of the layers that are used by the <strong>Draw</strong> method. The Draw method loops through all layers to filter out features and draw with specified styles to the image that will be sent to the browser.
Return Type |
---|
GeoCollection<Layer><!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.Core.Layer} –> |
<!– ThinkGeo.MapSuite.MvcEdition.LayerOverlay –> 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 or sets the server cache in the overlay.
Return Type |
---|
ServerCache<!– ThinkGeo.MapSuite.MvcEdition.ServerCache –> |
<!– ThinkGeo.MapSuite.MvcEdition.LayerOverlay –> Go Back
Gets or sets the height of each tile if the layer is in MultipleTile mode.
Return Type |
---|
Int32<!– System.Int32 –> |
<!– ThinkGeo.MapSuite.MvcEdition.LayerOverlay –> Go Back
Gets or sets the number of extra rows and colums of tiles on each side that will surround the minimum grid tiles to cover the map. Used only when in MultipleTile mode.
Return Type |
---|
Int32<!– System.Int32 –> |
<!– ThinkGeo.MapSuite.MvcEdition.LayerOverlay –> Go Back
Gets or sets whether or not the LayerOverlay uses tiling.
Return Type |
---|
TileType<!– ThinkGeo.MapSuite.MvcEdition.TileType –> |
<!– ThinkGeo.MapSuite.MvcEdition.LayerOverlay –> Go Back
Gets or sets the width of each tile if the layer is in MultipleTile mode.
Return Type |
---|
Int32<!– System.Int32 –> |
<!– ThinkGeo.MapSuite.MvcEdition.LayerOverlay –> Go Back
Gets or sets the transition effect to use when the map is zoomed.
Return Type |
---|
TransitionEffect<!– ThinkGeo.MapSuite.MvcEdition.TransitionEffect –> |
<!– ThinkGeo.MapSuite.MvcEdition.LayerOverlay –> Go Back
Return Type |
---|
Int32<!– System.Int32 –> |
<!– ThinkGeo.MapSuite.MvcEdition.LayerOverlay –> Go Back
Gets or sets the format of the image that is sent to the web browser.
Return Type |
---|
WebImageFormat<!– ThinkGeo.MapSuite.MvcEdition.WebImageFormat –> |
<!– ThinkGeo.MapSuite.MvcEdition.LayerOverlay –> Go Back
Gets or sets a value that indicates whether the overlay wraps at the date line.
Return Type |
---|
WrapDatelineMode<!– ThinkGeo.MapSuite.MvcEdition.WrapDatelineMode –> |
<!– ThinkGeo.MapSuite.MvcEdition.LayerOverlay –> Go Back
Gets or sets extra parameters for current overlay.
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.MvcEdition.LayerOverlay –> Go Back
Gets a string that indicates the overlay type.
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.MvcEdition.Overlay(overriden) –> Go Back
Gets or sets projection of current overlay for requesting images.
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.MvcEdition.LayerOverlay –> Go Back