BMFTile class

瓦片图

Inheritance
Available extensions

Constructors

BMFTile({required BMFCoordinateBounds visibleMapBounds, required BMFTileLoadType tileLoadType, int? maxZoom, int? minZoom, int? maxTileTmp, String? url, int zIndex = 0, bool visible = true, Map? customMap})
BMFTile构造方法
BMFTile.fromMap(Map map)
map => BMFTile

Properties

className ↔ String?
类名
getter/setter pairinherited
customMap ↔ Map?
开发者自定义字段
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
Id → String
获取id
no setterinherited
id → String
获取id since 3.2.0
no setterinherited
maxTileTmp ↔ int?
瓦片图缓存大小,android端需要,iOS端暂时不需要
getter/setter pair
maxZoom ↔ int?
瓦片图最大放大级别,android平台默认为20,其它平台默认为21
getter/setter pair
methodChannel ↔ MethodChannel

Available on BMFOverlay, provided by the OverlayMethodChannelExension extension

获取channel
getter/setter pair
minZoom ↔ int?
瓦片图最小缩放级别,默认3
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tileLoadType BMFTileLoadType
瓦片图加载类型
getter/setter pair
url ↔ String?
可选的参数,只有tileLoadType为LoadUrlTile时才有效
getter/setter pair
visible ↔ bool?
overlay是否可见
getter/setter pairinherited
visibleMapBounds ↔ BMFCoordinateBounds
tileOverlay的可渲染区域,默认世界范围
getter/setter pair
zIndex ↔ int?
元素的堆叠顺序
getter/setter pairinherited

Methods

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

Operators

operator ==(Object other) → bool
The equality operator.
inherited