BMFEncodeGeoPolygon class
- Inheritance
-
- Object
- BMFOverlay
- BMFPolygon
- BMFEncodeGeoPolygon
- Available extensions
Constructors
- BMFEncodeGeoPolygon({required String encodedGeoPoints, required BMFEncodePointType encodePointType, dynamic width = 5, dynamic strokeColor = Colors.blue, dynamic fillColor = Colors.red, dynamic lineDashType = BMFLineDashType.LineDashTypeNone, dynamic hollowShapes, dynamic clickable = false, int zIndex = 0, bool visible = true})
- BMFEncodeGeoPolygon.fromMap(Map map)
- map => BMFEncodeGeoPolygon
Properties
-
bounds
→ Future<
BMFCoordinateBounds?> -
返回overlay外接矩形 since 3.1.0
no setterinherited
- className ↔ String?
-
类名
getter/setter pairinherited
- clickable ↔ bool?
-
是否可点击,默认为flase since 3.5.0
getter/setter pairinherited
-
coordinates
↔ List<
BMFCoordinate> ? -
经纬度数组
getter/setter pairinherited
- customMap ↔ Map?
-
开发者自定义字段
getter/setter pairinherited
- encodedGeoPoints ↔ String
-
加密后的经纬度信息 since 3.6.0
getter/setter pair
- encodePointType ↔ BMFEncodePointType
-
加密数据类型 since 3.6.0
getter/setter pair
- fillColor ↔ Color?
-
设置polygonView的填充色
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
hollowShapes
↔ List<
BMFHollowShape> ? -
设置中空区域,用来创建中间带空洞的复杂图形。
getter/setter pairinherited
- Id → String
-
获取id
no setterinherited
- id → String
-
获取id since 3.2.0
no setterinherited
- lineDashType ↔ BMFLineDashType?
-
设置polygonView为虚线样式
getter/setter pairinherited
- methodChannel ↔ MethodChannel
-
Available on BMFOverlay, provided by the OverlayMethodChannelExension extension
获取channelgetter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- strokeColor ↔ Color?
-
设置polygonView的边框颜色
getter/setter pairinherited
- visible ↔ bool?
-
overlay是否可见
getter/setter pairinherited
- width ↔ int?
-
设置polygonView的线宽度
getter/setter pairinherited
- 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
-
updateCoordinates(
List< BMFCoordinate> coordinates) → Future<bool> -
Available on BMFPolygon, provided by the BMFPolygonUpdateExtension extension
更新经纬度数组 -
updateFillColor(
Color fillColor) → Future< bool> -
Available on BMFPolygon, provided by the BMFPolygonUpdateExtension extension
更新fillColor -
updateHollowShapes(
List< BMFHollowShape> hollowShapes) → Future<bool> -
Available on BMFPolygon, provided by the BMFPolygonUpdateExtension extension
更新镂空 -
updateLineDashType(
BMFLineDashType lineDashType) → Future< bool> -
Available on BMFPolygon, provided by the BMFPolygonUpdateExtension extension
虚线类型 -
updateStrokeColor(
Color strokeColor) → Future< bool> -
Available on BMFPolygon, provided by the BMFPolygonUpdateExtension extension
更新strokeColor -
updateWidth(
int width) → Future< bool> -
Available on BMFPolygon, provided by the BMFPolygonUpdateExtension extension
更新线宽
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited