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.
no setteroverride
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
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
zoomPosition int
设置缩放按钮的位置 Android
final

Methods

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

Operators

operator ==(Object other) bool
The equality operator.
override