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 –> This is the base class for TileCache system.
TileCahce system is very efficient in improving the performance of application, especially when large data or remote server images are included.
*System.Object ThinkGeo.MapSuite.Core.TileCache *ThinkGeo.MapSuite.Core.BitmapTileCache *ThinkGeo.MapSuite.Core.EncryptedFileBitmapTileCache *ThinkGeo.MapSuite.Core.FileBitmapTileCache *ThinkGeo.MapSuite.Core.FileNativeImageTileCache *ThinkGeo.MapSuite.Core.InMemoryBitmapTileCache ***ThinkGeo.MapSuite.Core.NativeImageTileCache
Name | Parameters | DeclaringType | Summary |
---|
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | String, TileImageFormat, TileMatrix | This is the constructor of the class. |
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | This method will clear all the tiles in the tileCache. | ||
![]() | Tile | This method will delete the target tile passed in. | |
![]() | RectangleShape | This method will delete the tiles within the passed in worldExtent. | |
![]() | Object | Object | |
![]() | Object | ||
![]() | Object | ||
![]() | Tile | This method will save the target tile passed in. | |
![]() | Bitmap, RectangleShape, Boolean | ||
![]() | Bitmap, RectangleShape | This method will save the bitmap with its extent attached into tiles. | |
![]() | Object |
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | This abstract method will clear all the tiles in the tileCache, for each sub TileCache class must implement this method. | ||
![]() | Tile | This abstract method will delete the target tile passed in, for each sub TileCache class must implement this method. | |
![]() | Object | ||
![]() | Object | ||
![]() | Tile | This abstract method will save the target tile passed in, for each sub TileCache class must implement this method. |
Name | Return | DeclaringType | Summary |
---|---|---|---|
![]() | String | Gets or sets the id of the TileCache. | |
![]() | TileImageFormat | Gets or sets the tile image format. | |
![]() | Int16 | Gets or sets the Jpeg quality , this property only take effects when setting the ImageFormat to Jpeg. | |
![]() | Bitmap | This property returns back a preset image showing the Tile is loading. | |
![]() | Bitmap | This property returns back a preset image showing the tile data is missing. | |
![]() | TileAccessMode | Gets or sets the Mode for the TileCache access the tiles. The Default value is ReadAddDelete | |
![]() | TileMatrix | Gets or sets the TileMatrix which is used in caculation for tiles. |
Name | Return | DeclaringType | Summary |
---|
Name | Event Arguments | DeclaringType | Summary |
---|
This is the constructor of the class.
Name | Type | Description |
---|---|---|
cacheId | String<!– System.String –> | This is the cache identifier which marks its difference with other TileCache. |
imageFormat | TileImageFormat<!– ThinkGeo.MapSuite.Core.TileImageFormat –> | This is the imageFormate showing what kind of image we are trying to save. |
tileMatrix | TileMatrix<!– ThinkGeo.MapSuite.Core.TileMatrix –> | This is the tile matrix system which is used for caculating tiles. |
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.Core.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.Core.Tile –> | The target tile to be deleted. |
<!– ThinkGeo.MapSuite.Core.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.Core.RectangleShape –> | The target extent to delete all tiles within it. |
<!– ThinkGeo.MapSuite.Core.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
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.Core.Tile –> | The target tile to be saved. |
<!– ThinkGeo.MapSuite.Core.TileCache –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
bitmap | Bitmap<!– System.Drawing.Bitmap –> | |
bitmapExtent | RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –> | |
saveContainedCellsOnly | Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.Core.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 | Bitmap<!– System.Drawing.Bitmap –> | The target bitmap to be saved into tiles. |
bitmapExtent | RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –> | The target extent for the bitmap. |
<!– ThinkGeo.MapSuite.Core.TileCache –> Go Back
Return Type | Description |
---|---|
String<!– System.String –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This abstract method will clear all the tiles in the tileCache, for each sub TileCache class must implement this method.
This method will not take effect when the ReadOnly is set to true.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.TileCache –> Go Back
This abstract method will delete the target tile passed in, for each sub TileCache class must implement this method.
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.Core.Tile –> | The target tile to be deleted. |
<!– ThinkGeo.MapSuite.Core.TileCache –> 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
This abstract method will save the target tile passed in, for each sub TileCache class must implement this method.
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.Core.Tile –> | The target tile to be saved. |
<!– ThinkGeo.MapSuite.Core.TileCache –> Go Back
Gets or sets the id of the TileCache.
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.Core.TileCache –> Go Back
Gets or sets the tile image format.
Return Type |
---|
TileImageFormat<!– ThinkGeo.MapSuite.Core.TileImageFormat –> |
<!– ThinkGeo.MapSuite.Core.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.Core.TileCache –> Go Back
This property returns back a preset image showing the Tile is loading.
Return Type |
---|
Bitmap<!– System.Drawing.Bitmap –> |
<!– ThinkGeo.MapSuite.Core.TileCache –> Go Back
This property returns back a preset image showing the tile data is missing.
Return Type |
---|
Bitmap<!– System.Drawing.Bitmap –> |
<!– ThinkGeo.MapSuite.Core.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.Core.TileAccessMode –> |
<!– ThinkGeo.MapSuite.Core.TileCache –> Go Back
Gets or sets the TileMatrix which is used in caculation for tiles.
Return Type |
---|
TileMatrix<!– ThinkGeo.MapSuite.Core.TileMatrix –> |
<!– ThinkGeo.MapSuite.Core.TileCache –> Go Back