Gets or sets whether to use server-side caching of any generated map tile image.

Namespace:  EGIS.Web.Controls
Assembly:  EGIS.Web.Controls (in EGIS.Web.Controls.dll)

Syntax

Visual Basic
<BindableAttribute(True)> _
Public Property CacheOnServer As Boolean
	Get
	Set
C#
[BindableAttribute(true)]
public bool CacheOnServer { get; set; }
Visual C++
[BindableAttribute(true)]
public:
property bool CacheOnServer {
	bool get ();
	void set (bool value);
}
JavaScript
function get_cacheOnServer();
function set_cacheOnServer(value);

Remarks

By default CacheOnServer will be set to false. If this property is set to true then ServerCacheDirectoryUrl must be set to a directory with appropriate write permissions. If images are cached on server then the processing overhead of rendering map image requests will not be required on the server, but there must be sufficient space on the server to store images.

If you are using CustomRenderSettings then it may be neccessary to set CacheOnServer to False

See Also