ESRI.ArcGIS.Mobile
ExtentChanged Event
See Also  Send Feedback
ESRI.ArcGIS.Mobile Namespace > Map Class : ExtentChanged Event

Occurs if the extent of the map changes.

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("Occurs when the extent of the Map changes.")>
<CategoryAttribute("Map")>
Public Event ExtentChanged() As EventHandler
C# 
[DescriptionAttribute("Occurs when the extent of the Map changes.")]
[CategoryAttribute("Map")]
public event EventHandler ExtentChanged()

Remarks

Map extent can be changed either by user's interaction (such as PanMapAction, ZoomInMapAction, etc.) or by relevant methods/properties (such as Map.SetExtent, Map.Scale, etc.).

Once the map extent changes, it's recommended that you (as a developer) make sure the data for the new extent is available either from local map cache (managed by MobileCache) or from ArcGIS Server (only in connected scenario).

MobileCache provides a repository for storing map data locally, while you can use various synchronization agents (such as MobileCacheSyncAgent) to get data from server if it's not available on local MobileCache as map extent changes.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also