IMapView.WndMode

Syntax

WndMode: MapViewWndMode;

Description

The WndMode property determines a map interactivity mode.

Example

Executing the example requires a form with the Button1 button, the MapBox and UiMap components 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:

IMapView