UiSettings class

Constructors

UiSettings({bool isZoomControlsEnabled: true, int zoomPosition: ZOOM_POSITION_RIGHT_BUTTOM, bool isCompassEnabled: false, bool isMyLocationButtonEnabled: false, bool isScaleControlsEnabled: true, int logoPosition: LOGO_POSITION_BOTTOM_LEFT, bool isZoomGesturesEnabled: true, bool isScrollGesturesEnabled: true, bool isRotateGesturesEnabled: true, bool isTiltGesturesEnabled: true })

Properties

hashCode → int
The hash code for this object. [...]
read-only
isCompassEnabled → bool
指南针 Android, iOS
final
isMyLocationButtonEnabled → bool
定位按钮 Android
final
isRotateGesturesEnabled → bool
旋转手势 Android, iOS
final
isScaleControlsEnabled → bool
比例尺控件 Android, iOS
final
isScrollGesturesEnabled → bool
滑动手势 Android, iOS
final
isTiltGesturesEnabled → bool
倾斜手势 Android, iOS
final
isZoomControlsEnabled → bool
是否允许显示缩放按钮 Android
final
isZoomGesturesEnabled → bool
缩放手势 Android, iOS
final
logoPosition → int
地图Logo Android, iOS暂未实现
final
zoomPosition → int
设置缩放按钮的位置 Android
final
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

copyWith({bool isZoomControlsEnabled, int zoomPosition, bool isCompassEnabled, bool isMyLocationButtonEnabled, bool isScaleControlsEnabled, int logoPosition, bool isZoomGesturesEnabled, bool isScrollGesturesEnabled, bool isRotateGesturesEnabled, bool isTiltGesturesEnabled }) UiSettings
toJson() → Map<String, Object>
toJsonString() → String
toString() → String
Returns a string representation of this object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited

Operators

operator ==(Object other) → bool
The equality operator. [...]