BMFMultiPointOverlay class Null safety
海量点overlay since 3.1.0
- Inheritance
-
- Object
- BMFOverlay
- BMFMultiPointOverlay
- Available Extensions
Constructors
-
BMFMultiPointOverlay({required List<
BMFMultiPointItem> items, required String icon, dynamic pointSize, dynamic anchor, int zIndex = 0, bool visible = true}) - 海量点overlay单个点对象构造方法
- BMFMultiPointOverlay.fromMap(Map map)
- map => BMFMultiPointOverlay
Properties
- anchor ↔ dynamic
-
经纬度对应图片中的位置,默认为(0.5,0.5),范围【0-1】 负值自动取其绝对值 左上角为 (0,0) 右下角为 (1,1)
read / write
- hashCode → int
-
The hash code for this object.
read-only, inherited
- icon ↔ String
-
标注纹理图片
read / write
- 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
-
items
↔ List<
BMFMultiPointItem> -
点对象集合
read / write
- pointSize ↔ dynamic
-
纹理渲染大小,默认为icon图片大小
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- visible ↔ bool?
-
overlay是否可见
read / write, inherited
- 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