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
Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.
<!– Class –> This class is a concrete class inherits from NativeImageTileCache. In this class, the tiles will be saved in disk and can be viewed very conveniently.
*System.Object ThinkGeo.MapSuite.WindowsPhoneCore.TileCache *ThinkGeo.MapSuite.WindowsPhoneCore.NativeImageTileCache ThinkGeo.MapSuite.WindowsPhoneCore.IsolatedStorageFileNativeImageTileCache
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
IsolatedStorageFileNativeImageTileCache | This is the default constructor. | ||
IsolatedStorageFileNativeImageTileCache | String, String, TileMatrix | This is the constructor with all the parameters needed passed in. |
Name | Parameters | DeclaringType | Summary |
---|
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
ClearCache | TileCache | This method will clear all the tiles in the tileCache. | |
DeleteTile | Tile | TileCache | This method will delete the target tile passed in. |
Equals | Object | Object | |
GetHashCode | Object | ||
GetTile | RectangleShape | NativeImageTileCache | This method returns the NativeImageTile corresponding to the tile bounding box passed in. |
GetTile | Int64, Int64 | NativeImageTileCache | This method returns the NativeImageTile corresponding to passed in row and column. |
GetTiles | RectangleShape | NativeImageTileCache | This method returns all the NativeImageTiles within the passed in world extent. |
GetType | Object | ||
SaveTile | Tile | TileCache | This method will save the target tile passed in. |
ToString | Object |
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
ClearCacheCore | TileCache(overriden) | This method will clear all the tiles in the tileCache. | |
DeleteTileCore | Tile | TileCache(overriden) | This method will delete the target tile passed in. |
Finalize | Object | ||
GetTileCore | Int64, Int64 | NativeImageTileCache(overriden) | This method returns the NativeImageTile corresponding to passed in row and column. |
MemberwiseClone | Object | ||
SaveTileCore | Tile | TileCache(overriden) | This method will save the target tile passed in, you could override this API to create your own logic. |
Name | Return | DeclaringType | Summary |
---|---|---|---|
CacheId | String | TileCache | Gets or sets the id of the TileCache. |
DirectoryName | String | Gets or sets the cache direcory. | |
MaxCacheSize | Int64 | ||
TileAccessMode | TileAccessMode | TileCache | Gets or sets the Mode for the TileCache access the tiles. The Default value is ReadAddDelete |
TileMatrix | TileMatrix | TileCache | Gets or sets the TileMatrix which is used in caculation for tiles. |
Name | Return | DeclaringType | Summary |
---|
Name | Event Arguments | DeclaringType | Summary |
---|
This is the default constructor.
If you use this constructor, you have to set the properties manually.
Name | Type | Description |
---|
This is the constructor with all the parameters needed passed in.
Name | Type | Description |
---|---|---|
directoryName | String<!– System.String –> | This parameter specifies the cache directory of the tile cache. |
cacheId | String<!– System.String –> | This parameter specifies the cache id of the tile cache. |
tileMatrix | TileMatrix<!– ThinkGeo.MapSuite.WindowsPhoneCore.TileMatrix –> | This parameter specifies the tile matrix of the tile cache. |
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.WindowsPhoneCore.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.WindowsPhoneCore.Tile –> | The target tile to be deleted. |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.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 returns the NativeImageTile corresponding to the tile bounding box passed in.
Return Type | Description |
---|---|
NativeImageTile<!– ThinkGeo.MapSuite.WindowsPhoneCore.NativeImageTile –> | Returns the NativeImageTile corresponding to the passed in boundingBox. |
Name | Type | Description |
---|---|---|
tileBoundingBox | RectangleShape<!– ThinkGeo.MapSuite.WindowsPhoneCore.RectangleShape –> | The target boundingBox for the tile to fetch. |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.NativeImageTileCache –> Go Back
This method returns the NativeImageTile corresponding to passed in row and column.
Return Type | Description |
---|---|
NativeImageTile<!– ThinkGeo.MapSuite.WindowsPhoneCore.NativeImageTile –> | Returns the NativeImageTile 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.WindowsPhoneCore.NativeImageTileCache –> Go Back
This method returns all the NativeImageTiles within the passed in world extent.
Return Type | Description |
---|---|
Collection<NativeImageTile><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.WindowsPhoneCore.NativeImageTile} –> | Returns a collection of NativeImageTiles within the passed in worldExtent. |
Name | Type | Description |
---|---|---|
extent | RectangleShape<!– ThinkGeo.MapSuite.WindowsPhoneCore.RectangleShape –> | The target worldExtent will be used to fetch all the NativeImageTiles from. |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.NativeImageTileCache –> 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.WindowsPhoneCore.Tile –> | The target tile to be saved. |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.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.WindowsPhoneCore.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.WindowsPhoneCore.Tile –> | The target tile to be deleted. |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.TileCache(overriden) –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This method returns the NativeImageTile corresponding to passed in row and column.
Return Type | Description |
---|---|
NativeImageTile<!– ThinkGeo.MapSuite.WindowsPhoneCore.NativeImageTile –> | Returns the NativeImageTile 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.WindowsPhoneCore.NativeImageTileCache(overriden) –> Go Back
Return Type | Description |
---|---|
Object<!– System.Object –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This method will save the target tile passed in, you could override this API to create your own logic.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
tile | Tile<!– ThinkGeo.MapSuite.WindowsPhoneCore.Tile –> | The target tile to be saved. |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.TileCache(overriden) –> Go Back
Gets or sets the id of the TileCache.
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.TileCache –> Go Back
Gets or sets the cache direcory.
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.IsolatedStorageFileNativeImageTileCache –> Go Back
Return Type |
---|
Int64<!– System.Int64 –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.IsolatedStorageFileNativeImageTileCache –> 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.WindowsPhoneCore.TileAccessMode –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.TileCache –> Go Back
Gets or sets the TileMatrix which is used in caculation for tiles.
Return Type |
---|
TileMatrix<!– ThinkGeo.MapSuite.WindowsPhoneCore.TileMatrix –> |
<!– ThinkGeo.MapSuite.WindowsPhoneCore.TileCache –> Go Back