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 –> This class is a concrete class inherits from BitmapTileCache. In this class, the tiles will be saved in memory and it provides some properties to control it very easily.
*System.Object ThinkGeo.MapSuite.PortableCore.TileCache *ThinkGeo.MapSuite.PortableCore.BitmapTileCache ThinkGeo.MapSuite.PortableCore.InMemoryBitmapTileCache
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | This is the default constructor. |
Name | Parameters | DeclaringType | Summary |
---|
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | TileCache | This method will clear all the tiles in the tileCache. | |
![]() | Tile | TileCache | This method will delete the target tile passed in. |
![]() | RectangleShape | TileCache | This method will delete the tiles within the passed in worldExtent. |
![]() | Object | Object | |
![]() | Object | ||
![]() | RectangleShape, Double | BitmapTileCache | This method will return the HigherScale BitmapTile which is always used for preview effects when ZoomIn or ZoomOut. |
![]() | RectangleShape | BitmapTileCache | This method returns the BitmapTile corresponding to the tile bounding box passed in. |
![]() | Int64, Int64 | BitmapTileCache | This method returns the BitmapTile corresponding to passed in row and column. |
![]() | RectangleShape | BitmapTileCache | This method returns all the BitmapTiles within the passed in world extent, some of which may not has bitmap. |
![]() | Object | ||
![]() | Tile | TileCache | This method will save the target tile passed in. |
![]() | GeoImage, RectangleShape | TileCache | This method will save the bitmap with its extent attached into tiles. |
![]() | Object |
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | TileCache(overriden) | This method will clear all the tiles in the tileCache. | |
![]() | Tile | TileCache(overriden) | This method will delete the target tile passed in. |
![]() | Object | ||
![]() | RectangleShape, Double | BitmapTileCache(overriden) | This method overrides the logic in its base class BitmapTileCache. This method will return the HigherScale BitmapTile which is always used for preview effects when ZoomIn or ZoomOut. |
![]() | Int64, Int64 | BitmapTileCache(overriden) | This method returns the BitmapTile corresponding to passed in row and column. |
![]() | Object | ||
![]() | IEnumerable<BitmapTile>, Double | BitmapTileCache | This method will merege the passed in bitmap tiles into a larege bitmap tile. |
![]() | GettingCacheImageBitmapTileCacheEventArgs | BitmapTileCache | |
![]() | GottenCacheImageBitmapTileCacheEventArgs | BitmapTileCache | |
![]() | Tile | TileCache(overriden) | This method will save the target tile passed in. |
Name | Return | DeclaringType | Summary |
---|---|---|---|
![]() | String | TileCache | Gets or sets the id of the TileCache. |
![]() | GeoCollection<Dictionary<String,BitmapTile» | This property gets the Cached tiles,each item is a Dictionary with scale as its key. | |
![]() | TileImageFormat | TileCache | Gets or sets the tile image format. |
![]() | Int16 | TileCache | Gets or sets the Jpeg quality , this property only take effects when setting the ImageFormat to Jpeg. |
![]() | GeoImage | TileCache | This property returns back a preset image showing the Tile is loading. |
![]() | Int32 | This property gets or sets the maximum tiles count, if it exceed,it will delete the old first cached tiles. | |
![]() | GeoImage | TileCache | This property returns back a preset image showing the tile data is missing. |
![]() | TileAccessMode | TileCache | Gets or sets the Mode for the TileCache access the tiles. The Default value is ReadAddDelete |
![]() | TileMatrix | TileCache | Gets or sets the TileMatrix which is used in caculation for tiles. |
Name | Return | DeclaringType | Summary |
---|
Name | Event Arguments | DeclaringType | Summary |
---|---|---|---|
![]() | GettingCacheImageBitmapTileCacheEventArgs | BitmapTileCache | |
![]() | GottenCacheImageBitmapTileCacheEventArgs | BitmapTileCache |
This is the default constructor.
If you use this constructor, you have to set the properties manually.
Name | Type | Description |
---|
This method will clear all the tiles in the tileCache.
This method will not take effect when the ReadOnly is set to true.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.PortableCore.TileCache –> Go Back
This method will delete the target tile passed in.
This method will not take effect when the ReadOnly is set to true.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
tile | Tile<!– ThinkGeo.MapSuite.PortableCore.Tile –> | The target tile to be deleted. |
<!– ThinkGeo.MapSuite.PortableCore.TileCache –> Go Back
This method will delete the tiles within the passed in worldExtent.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
worldExtent | RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | The target extent to delete all tiles within it. |
<!– ThinkGeo.MapSuite.PortableCore.TileCache –> Go Back
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> |
Name | Type | Description |
---|---|---|
obj | Object<!– System.Object –> |
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Int32<!– System.Int32 –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This method will return the HigherScale BitmapTile which is always used for preview effects when ZoomIn or ZoomOut.
Return Type | Description |
---|---|
BitmapTile<!– ThinkGeo.MapSuite.PortableCore.BitmapTile –> | Returns the higher scale(higher zoomLevel) bitmap tile. |
Name | Type | Description |
---|---|---|
tileBoundingBox | RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | The parameter specifies the current tile bounding box. |
tileScale | Double<!– System.Double –> | This parameter specifies the current tile scale. |
<!– ThinkGeo.MapSuite.PortableCore.BitmapTileCache –> Go Back
This method returns the BitmapTile corresponding to the tile bounding box passed in.
Return Type | Description |
---|---|
BitmapTile<!– ThinkGeo.MapSuite.PortableCore.BitmapTile –> | Returns the BitmapTile corresponding to the passed in boundingBox. |
Name | Type | Description |
---|---|---|
tileBoundingBox | RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | The target boundingBox for the tile to fetch. |
<!– ThinkGeo.MapSuite.PortableCore.BitmapTileCache –> Go Back
This method returns the BitmapTile corresponding to passed in row and column.
Return Type | Description |
---|---|
BitmapTile<!– ThinkGeo.MapSuite.PortableCore.BitmapTile –> | Returns the BitmapTile corresponding to the passed in row and column. |
Name | Type | Description |
---|---|---|
row | Int64<!– System.Int64 –> | The target row for the tile to fetch. |
column | Int64<!– System.Int64 –> | The target column for the tile to fetch. |
<!– ThinkGeo.MapSuite.PortableCore.BitmapTileCache –> Go Back
This method returns all the BitmapTiles within the passed in world extent, some of which may not has bitmap.
Return Type | Description |
---|---|
Collection<BitmapTile><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.PortableCore.BitmapTile} –> | Returns a collection of BitmapTiles within the passed in worldExtent. |
Name | Type | Description |
---|---|---|
worldExtent | RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | The target worldExtent will be used to fetch all the BitmapTiles from. |
<!– ThinkGeo.MapSuite.PortableCore.BitmapTileCache –> Go Back
Return Type | Description |
---|---|
Type<!– System.Type –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This method will save the target tile passed in.
This method will not take effect when the ReadOnly is set to true.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
tile | Tile<!– ThinkGeo.MapSuite.PortableCore.Tile –> | The target tile to be saved. |
<!– ThinkGeo.MapSuite.PortableCore.TileCache –> Go Back
This method will save the bitmap with its extent attached into tiles.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
bitmap | GeoImage<!– ThinkGeo.MapSuite.PortableCore.GeoImage –> | The target bitmap to be saved into tiles. |
bitmapExtent | RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | The target extent for the bitmap. |
<!– ThinkGeo.MapSuite.PortableCore.TileCache –> Go Back
Return Type | Description |
---|---|
String<!– System.String –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This method will clear all the tiles in the tileCache.
This method will not take effect when the ReadOnly is set to true.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.PortableCore.TileCache(overriden) –> Go Back
This method will delete the target tile passed in.
This method will not take effect when the ReadOnly is set to true.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
tile | Tile<!– ThinkGeo.MapSuite.PortableCore.Tile –> | The target tile to be deleted. |
<!– ThinkGeo.MapSuite.PortableCore.TileCache(overriden) –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This method overrides the logic in its base class BitmapTileCache. This method will return the HigherScale BitmapTile which is always used for preview effects when ZoomIn or ZoomOut.
Return Type | Description |
---|---|
BitmapTile<!– ThinkGeo.MapSuite.PortableCore.BitmapTile –> | Returns the higher scale(higher zoomLevel) bitmap tile. |
Name | Type | Description |
---|---|---|
tileBoundingBox | RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | The parameter specifies the current tile bounding box. |
tileScale | Double<!– System.Double –> | This parameter specifies the current tile scale. |
<!– ThinkGeo.MapSuite.PortableCore.BitmapTileCache(overriden) –> Go Back
This method returns the BitmapTile corresponding to passed in row and column.
Return Type | Description |
---|---|
BitmapTile<!– ThinkGeo.MapSuite.PortableCore.BitmapTile –> | Returns the BitmapTile corresponding to the passed in row and column. |
Name | Type | Description |
---|---|---|
row | Int64<!– System.Int64 –> | The target row for the tile to fetch. |
column | Int64<!– System.Int64 –> | The target column for the tile to fetch. |
<!– ThinkGeo.MapSuite.PortableCore.BitmapTileCache(overriden) –> Go Back
Return Type | Description |
---|---|
Object<!– System.Object –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This method will merege the passed in bitmap tiles into a larege bitmap tile.
Return Type | Description |
---|---|
BitmapTile<!– ThinkGeo.MapSuite.PortableCore.BitmapTile –> | Returns a merged bitmap tile. |
Name | Type | Description |
---|---|---|
tilesToMerge | IEnumerable<BitmapTile><!– System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.PortableCore.BitmapTile} –> | The collection of tiles to be mereged. |
scale | Double<!– System.Double –> | The target scale for result mereged bitmap tile. |
<!– ThinkGeo.MapSuite.PortableCore.BitmapTileCache –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
e | GettingCacheImageBitmapTileCacheEventArgs<!– ThinkGeo.MapSuite.PortableCore.GettingCacheImageBitmapTileCacheEventArgs –> |
<!– ThinkGeo.MapSuite.PortableCore.BitmapTileCache –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
e | GottenCacheImageBitmapTileCacheEventArgs<!– ThinkGeo.MapSuite.PortableCore.GottenCacheImageBitmapTileCacheEventArgs –> |
<!– ThinkGeo.MapSuite.PortableCore.BitmapTileCache –> Go Back
This method will save the target tile passed in.
This method will not take effect when the ReadOnly is set to true.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
tile | Tile<!– ThinkGeo.MapSuite.PortableCore.Tile –> | The target tile to be saved. |
<!– ThinkGeo.MapSuite.PortableCore.TileCache(overriden) –> Go Back
Gets or sets the id of the TileCache.
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.PortableCore.TileCache –> Go Back
This property gets the Cached tiles,each item is a Dictionary with scale as its key.
Return Type |
---|
GeoCollection<Dictionary<String,BitmapTile»<!– ThinkGeo.MapSuite.PortableCore.GeoCollection{System.Collections.Generic.Dictionary{System.String,ThinkGeo.MapSuite.PortableCore.BitmapTile}} –> |
<!– ThinkGeo.MapSuite.PortableCore.InMemoryBitmapTileCache –> Go Back
Gets or sets the tile image format.
Return Type |
---|
TileImageFormat<!– ThinkGeo.MapSuite.PortableCore.TileImageFormat –> |
<!– ThinkGeo.MapSuite.PortableCore.TileCache –> Go Back
Gets or sets the Jpeg quality , this property only take effects when setting the ImageFormat to Jpeg.
Return Type |
---|
Int16<!– System.Int16 –> |
<!– ThinkGeo.MapSuite.PortableCore.TileCache –> Go Back
This property returns back a preset image showing the Tile is loading.
Return Type |
---|
GeoImage<!– ThinkGeo.MapSuite.PortableCore.GeoImage –> |
<!– ThinkGeo.MapSuite.PortableCore.TileCache –> Go Back
This property gets or sets the maximum tiles count, if it exceed,it will delete the old first cached tiles.
Return Type |
---|
Int32<!– System.Int32 –> |
<!– ThinkGeo.MapSuite.PortableCore.InMemoryBitmapTileCache –> Go Back
This property returns back a preset image showing the tile data is missing.
Return Type |
---|
GeoImage<!– ThinkGeo.MapSuite.PortableCore.GeoImage –> |
<!– ThinkGeo.MapSuite.PortableCore.TileCache –> Go Back
Gets or sets the Mode for the TileCache access the tiles. The Default value is ReadAddDelete
If you want it to take effect, you need set the ReadOnly property false.
Return Type |
---|
TileAccessMode<!– ThinkGeo.MapSuite.PortableCore.TileAccessMode –> |
<!– ThinkGeo.MapSuite.PortableCore.TileCache –> Go Back
Gets or sets the TileMatrix which is used in caculation for tiles.
Return Type |
---|
TileMatrix<!– ThinkGeo.MapSuite.PortableCore.TileMatrix –> |
<!– ThinkGeo.MapSuite.PortableCore.TileCache –> Go Back
Event Arguments |
---|
GettingCacheImageBitmapTileCacheEventArgs<!– ThinkGeo.MapSuite.PortableCore.GettingCacheImageBitmapTileCacheEventArgs –> |
<!– ThinkGeo.MapSuite.PortableCore.BitmapTileCache –> Go Back
Event Arguments |
---|
GottenCacheImageBitmapTileCacheEventArgs<!– ThinkGeo.MapSuite.PortableCore.GottenCacheImageBitmapTileCacheEventArgs –> |
<!– ThinkGeo.MapSuite.PortableCore.BitmapTileCache –> Go Back
NOTOC MapSuitePortableCore ThinkGeo.MapSuite.PortableCore 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.