IMap.View

Syntax

View: IMapView;

Description

The View property determines display settings for a map and map objects.

Example

Executing the example requires a form with the Button1 button, the MapBox component and the UiMap with a loaded map.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);

Var

M: IMap;

View: IMapView;

Begin

M := UiMap1.Map;

View := M.View;

View.WndMode := MapViewWndMode.ZoomIn;

End Sub Button1OnClick;

After executing the example the map view switches to zoom-in mode.

See also:

IMap