BMFGeodesicLine class
大地曲线 since 3.1.0
- Inheritance
-
- Object
- BMFOverlay
- BMFGeodesicLine
- Available extensions
Constructors
-
BMFGeodesicLine({required List<
BMFCoordinate> coordinates, int? width = 5, Color? strokeColor, String? textureImage, BMFLineDashType? lineDashType = BMFLineDashType.LineDashTypeNone, BMFLineDirectionCross180Type? lineDirectionCross180 = BMFLineDirectionCross180Type.None, int zIndex = 0, bool visible = true, Map? customMap}) - 大地曲线构造方法
-
BMFGeodesicLine.colorGedesicLine({required List<
BMFCoordinate> coordinates, required Color? strokeColor, BMFLineDashType? lineDashType = BMFLineDashType.LineDashTypeNone, BMFLineDirectionCross180Type? lineDirectionCross180 = BMFLineDirectionCross180Type.None, int zIndex = 0, bool visible = true, Map? customMap}) - 颜色大地曲线构造方法
- BMFGeodesicLine.fromMap(Map map)
-
BMFGeodesicLine.textureGedesicLine({required List<
BMFCoordinate> coordinates, required String? textureImage, BMFLineDashType? lineDashType = BMFLineDashType.LineDashTypeNone, BMFLineDirectionCross180Type? lineDirectionCross180 = BMFLineDirectionCross180Type.None, int zIndex = 0, bool visible = true, Map? customMap}) - 纹理大地曲线构造方法
Properties
- className ↔ String?
-
类名
getter/setter pairinherited
-
coordinates
↔ List<
BMFCoordinate> -
经纬度数组
getter/setter pair
- 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
- lineDashType ↔ BMFLineDashType?
-
大地曲线虚线绘制类型
getter/setter pair
- lineDirectionCross180 ↔ BMFLineDirectionCross180Type?
-
大地曲线跨经度180方式
getter/setter pair
- 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?
-
大地曲线颜色
getter/setter pair
- textureImage ↔ String?
-
大地曲线纹理图片路径
getter/setter pair
- visible ↔ bool?
-
overlay是否可见
getter/setter pairinherited
- width ↔ int?
-
线宽
getter/setter pair
- zIndex ↔ int?
-
元素的堆叠顺序
getter/setter pairinherited
Methods
-
fromMap(
Map map) → dynamic -
map -> dynamic
inherited
-
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 BMFGeodesicLine, provided by the BMFGeodesicLineUpdateExtension extension
更新经纬度数组 -
updateLineDashType(
BMFLineDashType lineDashType) → Future< bool> -
Available on BMFGeodesicLine, provided by the BMFGeodesicLineUpdateExtension extension
更新lineDashType -
updateLineDirectionCross180(
BMFLineDirectionCross180Type lineDirectionCross180) → Future< bool> -
Available on BMFGeodesicLine, provided by the BMFGeodesicLineUpdateExtension extension
更新lineDirectionCross180 -
updateStrokeColor(
Color strokeColor) → Future< bool> -
Available on BMFGeodesicLine, provided by the BMFGeodesicLineUpdateExtension extension
更新strokeColor -
updateTextureImage(
String textureImage) → Future< bool> -
Available on BMFGeodesicLine, provided by the BMFGeodesicLineUpdateExtension extension
更新textureImage -
updateWidth(
int width) → Future< bool> -
Available on BMFGeodesicLine, provided by the BMFGeodesicLineUpdateExtension extension
更新线宽
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited