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 controls the cachablity of the map control at the server side.
The <strong>ServerCache</strong> object contains information for caching map images at the server side. When you set the <strong>CacheDirectory</strong>, the server cache is automatically turned on. A map image only needs to be generated once and then saved to the folder specified by the <strong>CacheDirectory</strong>. Later, when the map image is revisited, it is retrieved from the cache folder. Using the server cache will greatly increase the responsiveness of the map, but it is only suitable for a static map.The <strong>ServerCache</strong> object contains information for caching map images at the server side. When you set the <strong>CacheDirectory</strong>, the server cache is automatically turned on. A map image only needs to be generated once and then saved to the folder specified by the <strong>CacheDirectory</strong>. Later, when the map image is revisited, it is retrieved from the cache folder. Using the server cache will greatly increase the responsiveness of the map, but it is only suitable for a static map.
*System.Object **ThinkGeo.MapSuite.SilverlightEdition.ServerCache
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
ServerCache | Initializes a new instance of the ServerCache class. | ||
ServerCache | String | Initializes a new instance of the ServerCache class with the specified cache directory. |
Name | Parameters | DeclaringType | Summary |
---|
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
Equals | Object | Object | |
GetHashCode | Object | ||
GetType | Object | ||
ToString | Object |
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
Finalize | Object | ||
MemberwiseClone | Object |
Name | Return | DeclaringType | Summary |
---|---|---|---|
CacheDirectory | String | Gets or sets a string that represents the directory of the cache folder. | |
CacheId | String | Gets or sets a string which is used to retrieve the cached images. |
Name | Return | DeclaringType | Summary |
---|
Name | Event Arguments | DeclaringType | Summary |
---|
Initializes a new instance of the ServerCache class.
Initializes a new instance of the ServerCache class.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.SilverlightEdition.ServerCache#ServerCache.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.SilverlightEdition.ServerCache#ServerCache.28.29</a>
Name | Type | Description |
---|
Initializes a new instance of the ServerCache class with the specified cache directory.
Initializes a new instance of the ServerCache class.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.SilverlightEdition.ServerCache#ServerCache.28String.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.SilverlightEdition.ServerCache#ServerCache.28String.29</a>
Name | Type | Description |
---|---|---|
cacheDirectory | String<!– System.String –> | The directory string that indicates where the cache images are saved to. |
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.SilverlightEdition.ServerCache#Equals.28Object.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.SilverlightEdition.ServerCache#Equals.28Object.29</a>
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> |
Name | Type | Description |
---|---|---|
obj | Object<!– System.Object –> |
<!– System.Object –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.SilverlightEdition.ServerCache#GetHashCode.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.SilverlightEdition.ServerCache#GetHashCode.28.29</a>
Return Type | Description |
---|---|
Int32<!– System.Int32 –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.SilverlightEdition.ServerCache#GetType.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.SilverlightEdition.ServerCache#GetType.28.29</a>
Return Type | Description |
---|---|
Type<!– System.Type –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.SilverlightEdition.ServerCache#ToString.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.SilverlightEdition.ServerCache#ToString.28.29</a>
Return Type | Description |
---|---|
String<!– System.String –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.SilverlightEdition.ServerCache#Finalize.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.SilverlightEdition.ServerCache#Finalize.28.29</a>
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.SilverlightEdition.ServerCache#MemberwiseClone.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.SilverlightEdition.ServerCache#MemberwiseClone.28.29</a>
Return Type | Description |
---|---|
Object<!– System.Object –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Gets or sets a string that represents the directory of the cache folder.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.SilverlightEdition.ServerCache#CacheDirectory” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.SilverlightEdition.ServerCache#CacheDirectory</a>
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.ServerCache –> Go Back
Gets or sets a string which is used to retrieve the cached images.
The <strong>CacheId</strong> is actually the name of a sub-folder of the cache folder to which images with the same CacheId are saved. When you set the same CacheId in different pages, the map images of these pages will be saved and retrieved from the same folder. Thus you can share cache images between pages.The <strong>CacheId</strong> is actually the name of a sub-folder of the cache folder to which images with the same CacheId are saved. When you set the same CacheId in different pages, the map images of these pages will be saved and retrieved from the same folder. Thus you can share cache images between pages.
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.ServerCache –> Go Back