ESRI.ArcGIS.ADF.Web.UI.WebControls
EnableTileCaching Property
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Map Class : EnableTileCaching Property


Whether tiles that have been retrieved during panning of the map will be cached until the scale is changed.

Syntax

Visual Basic (Declaration)  
Public Property EnableTileCaching As Boolean
Visual Basic (Usage) Copy Code
Dim instance As Map
Dim value As Boolean
 
instance.EnableTileCaching = value
 
value = instance.EnableTileCaching
C#  
public bool EnableTileCaching {get; set;}

Return Value

Boolean value indicating whether retrieved map tiles will be cached in the client.

Remarks

When this property is true (the default), the Map control will retrieve the map images from the server and cache (store) them on the client browser. When the map is panned (moved), additional map images (tiles) will be retrieved and cached. Then when the map is panned back to an area previously cached, the map tile will immediately be displayed. The client does not have to return to the server for the map.

If this property is false, a new map will be retrieved from the server upon every pan of the map. It is recommended to set this property to true unless problems are detected with tile caching on the client.

Tiles are cached on the client only at the current map scale. If the user zooms the map in or out, or the map scale is otherwise changed, cached tiles will be discarded and not reused. The browser will begin to cache tiles at the new scale. Even if the map is returned to a scale previous used where tiles were cached, no previously cached tiles will be available for use.

Requirements

Target Platforms:Windows XP Professional, Windows Server 2003 family

See Also