MyLocationStyleOptions class

定位小蓝点配置项

Constructors

MyLocationStyleOptions(bool enabled, {Color? circleFillColor, Color? circleStrokeColor, double? circleStrokeWidth, BitmapDescriptor? icon})

Properties

circleFillColor Color?
精度圈填充色
getter/setter pair
circleStrokeColor Color?
精度圈边框色
getter/setter pair
circleStrokeWidth double?
精度圈边框宽度
getter/setter pair
enabled bool
是否显示定位小蓝点
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
icon BitmapDescriptor?
小蓝点图标
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clone() MyLocationStyleOptions
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromMap(dynamic json) MyLocationStyleOptions?