IMapView.UseProportionality

Syntax

UseProportionality: Boolean;

Description

The UseProportionality property determines whether the original aspect ratio of the map is preserved.

Comments

Available values:

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.UseProportionality:= False;

End Sub Button1OnClick;

After executing the example the aspect ratio for the map is not preserved.

See also:

IMapView