CustomStyleOptions class

地图自定义样式

Constructors

CustomStyleOptions(bool enabled, {Uint8List styleData, Uint8List styleExtraData})

Properties

enabled bool
开关项,是否开启自定义地图
read / write
hashCode int
The hash code for this object. [...]
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
styleData Uint8List
自定义样式的二进制数据,对应下载的自定义地图文件中的style.data中的二进制数据
read / write
styleExtraData Uint8List
自定义扩展样式的二进制数据,对应下载的自定义地图文件中的style_extra.data中的二进制数据
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() → dynamic
toString() String
Returns a string representation of this object.
inherited

Operators

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

Static Methods

fromMap(dynamic json) CustomStyleOptions