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 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.
*System.Object **ThinkGeo.MapSuite.WebEdition.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.WebEdition.ServerCache#ServerCache.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.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.WebEdition.ServerCache#ServerCache.28String.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.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.WebEdition.ServerCache#Equals.28Object.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.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.WebEdition.ServerCache#GetHashCode.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.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.WebEdition.ServerCache#GetType.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.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.WebEdition.ServerCache#ToString.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.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.WebEdition.ServerCache#Finalize.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.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.WebEdition.ServerCache#MemberwiseClone.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.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.WebEdition.ServerCache#CacheDirectory” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ServerCache#CacheDirectory</a>
| Return Type |
|---|
| String<!– System.String –> |
<!– ThinkGeo.MapSuite.WebEdition.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.
| Return Type |
|---|
| String<!– System.String –> |
<!– ThinkGeo.MapSuite.WebEdition.ServerCache –> Go Back
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.