BMFTile class

瓦片图

Inheritance

Constructors

BMFTile({@required BMFCoordinateBounds visibleMapBounds, @required BMFTileLoadType tileLoadType, int maxZoom, int minZoom, int maxTileTmp, String url})
BMFTile构造方法
BMFTile.withMap(Map map)

Properties

maxTileTmp ↔ int
瓦片图缓存大小,android端需要,ios端暂时不需要
read / write
maxZoom ↔ int
瓦片图最大放大级别,android平台默认为20,其它平台默认为21
read / write
minZoom ↔ int
瓦片图最小缩放级别,默认3
read / write
tileLoadType BMFTileLoadType
瓦片图加载类型
read / write
url ↔ String
可选的参数,只有tileLoadType为LoadUrlTile时才有效
read / write
visibleMapBounds ↔ BMFCoordinateBounds
tileOverlay的可渲染区域,默认世界范围
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
visible ↔ bool
overlay是否可见 [...]
read / write, inherited
zIndex ↔ int
元素的堆叠顺序 s Android独有
read / write, inherited

Methods

fromMap(Map map) → dynamic
map -> dynamic
override
toMap() → Map<String, Object>
model -> map
override
getId() → String
inherited
getMethodChannel() → MethodChannel
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
setMethodChannel(MethodChannel methodChannel) → void
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited

Static Methods

tile() BMFTile