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