IMapView.SelectionMode

Syntax

SelectionMode: MapViewSelectionMode;

Description

The SelectionMode property determines a map territories selection mode.

Example

Executing the example requires a form with the Button1 button, the MapBox component and the UiMap component that is a data source for MapBox.

The example is executed on clicking the button.

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

Var

MapView: IMapView;

Begin

MapView := UiMap1.Map.View;

MapView.SelectionMode := MapViewSelectionMode.Border;

End Sub Button1OnClick;

After executing the example the border highlight mode is set for the map:

See also:

IMapView