KeepProportions: Boolean
The KeepProportions property determines saving of image aspect ratio on changing the width, height or after getting a new image.
Available Values:
true. Image aspect ratio is saved on changing height, width or after getting a new image.
false. Image aspect ratio is not saved on changing height, width or after getting a new image.
Use JSON or the setKeepProportions method to set the property value, and the getKeepProportions method to get the property value.
The example of constructor use is given in description of the MiniMap.Control property.
See also: