CustomStyleOptions class
地图自定义样式
Constructors
- CustomStyleOptions(bool enabled, {Uint8List? styleData, Uint8List? styleExtraData})
Properties
- enabled ↔ bool
-
开关项,是否开启自定义地图
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- styleData ↔ Uint8List?
-
自定义样式的二进制数据,对应下载的自定义地图文件中的style.data中的二进制数据
getter/setter pair
- styleExtraData ↔ Uint8List?
-
自定义扩展样式的二进制数据,对应下载的自定义地图文件中的style_extra.data中的二进制数据
getter/setter pair
Methods
-
clone(
) → CustomStyleOptions -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → dynamic -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromMap(
dynamic json) → CustomStyleOptions?