IMapView.TerritoryInfoRect

Syntax

TerritoryInfoRect: IGxRectF;

Description

The TerritoryInfoRect property determines a map area where territory info is placed.

Comments

The area is determined as a rectangle, which dimensions can be changed in the range [0..1].

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. UiMap is set up in such a way that the territory info is displayed on the map.

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

Var

TerrRect: IGxRectF;

Begin

TerrRect := New GxRectF.Create(0, 0, 0.2, 1);

UiMap1.Map.View.TerritoryInfoRect := TerrRect;

End Sub Button1OnClick;

After executing the example on clicking the button the territory info is placed to the left of the map.

See also:

IMapView