UseProportionality: Boolean;
The UseProportionality property determines whether the original aspect ratio of the map is preserved. True - the aspect ratio is preserved, False - the aspect ratio is not preserved.
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: