BMFTile class Null safety
瓦片图
- Inheritance
-
- Object
- BMFOverlay
- BMFTile
- Available Extensions
Constructors
- BMFTile({required dynamic visibleMapBounds, required BMFTileLoadType tileLoadType, int? maxZoom, int? minZoom, int? maxTileTmp, String? url})
- BMFTile构造方法
- BMFTile.fromMap(Map map)
- map => BMFTile
Properties
- hashCode → int
-
The hash code for this object.
read-only, inherited
- Id → String
-
获取id
@Deprecated('Use `id` method instead since 3.2.0'), read-only, inherited
- id → String
-
获取id since 3.2.0
read-only, inherited
- maxTileTmp ↔ int?
-
瓦片图缓存大小,android端需要,iOS端暂时不需要
read / write
- maxZoom ↔ int?
-
瓦片图最大放大级别,android平台默认为20,其它平台默认为21
read / write
- minZoom ↔ int?
-
瓦片图最小缩放级别,默认3
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- tileLoadType ↔ BMFTileLoadType
-
瓦片图加载类型
read / write
- url ↔ String?
-
可选的参数,只有tileLoadType为LoadUrlTile时才有效
read / write
- visible ↔ bool?
-
overlay是否可见
read / write, inherited
- visibleMapBounds ↔ dynamic
-
tileOverlay的可渲染区域,默认世界范围
read / write
- zIndex ↔ int?
-
元素的堆叠顺序
read / write, inherited
Methods
-
fromMap(
Map map) → dynamic -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited