BMFPrismOverlay class

3D棱柱 since 3.1.0

Inheritance
Available extensions

Constructors

BMFPrismOverlay({required List<BMFCoordinate>? coordinates, required Color? topFaceColor, Color? sideFaceColor, String? sideFacTexture, int? height, int zIndex = 0, bool visible = true, Map? customMap})
3d棱柱构造方法
BMFPrismOverlay.buildingForColor({required BMFBuildInfo? buildInfo, required Color? topFaceColor, required Color? sideFaceColor, bool? isGrowthAnimation = true, int? showLevel, int? height, Color? floorColor, String? floorSideTextureImage, double? floorHeight, int zIndex = 0, bool visible = true, Map? customMap})
地图建筑物颜色构造方法
BMFPrismOverlay.buildingForTexture({required BMFBuildInfo? buildInfo, required Color? topFaceColor, required String? sideFacTexture, bool? isGrowthAnimation = true, int? showLevel, int? height, Color? floorColor, String? floorSideTextureImage, double? floorHeight, int zIndex = 0, bool visible = true, Map? customMap})
地图建筑物纹理构造方法
BMFPrismOverlay.colorPrismOverlay({required List<BMFCoordinate>? coordinates, required Color? topFaceColor, required Color? sideFaceColor, int? height, int zIndex = 0, bool visible = true, Map? customMap})
3d棱柱颜色构造方法
BMFPrismOverlay.fromMap(Map map)
map => BMFPrismOverlay
BMFPrismOverlay.texturePrismOverlay({required List<BMFCoordinate>? coordinates, required Color? topFaceColor, required String? sideFacTexture, int? height, int zIndex = 0, bool visible = true, Map? customMap})
3d棱柱纹理构造方法

Properties

buildInfo ↔ BMFBuildInfo?
getter/setter pair
className ↔ String?
类名
getter/setter pairinherited
coordinates ↔ List<BMFCoordinate>?
经纬度数组
getter/setter pair
customMap ↔ Map?
开发者自定义字段
getter/setter pairinherited
floorColor ↔ Color?
自定义建筑物的楼层颜色 (仅对建筑物生效) since 3.5.0
getter/setter pair
floorHeight ↔ double?
楼层高度 (仅对建筑物生效) since 3.5.0
getter/setter pair
floorSideTextureImage ↔ String?
自定义建筑物的楼层侧面纹理 (仅对建筑物生效) since 3.5.0
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
height ↔ int?
高度
getter/setter pair
Id → String
获取id
no setterinherited
id → String
获取id since 3.2.0
no setterinherited
isGrowthAnimation ↔ bool?
是否开启生长动画(仅对建筑物生效),默认true
getter/setter pair
methodChannel ↔ MethodChannel

Available on BMFOverlay, provided by the OverlayMethodChannelExension extension

获取channel
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showLevel ↔ int?
建筑物显示层级(仅对建筑物生效), 默认18
getter/setter pair
sideFaceColor ↔ Color?
3D棱柱侧面颜色
getter/setter pair
sideFacTexture ↔ String?
3D棱柱侧面纹理图片路径
getter/setter pair
topFaceColor ↔ Color?
3D棱柱顶面颜色
getter/setter pair
visible ↔ bool?
overlay是否可见
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
updateBuildInfo(BMFBuildInfo buildInfo) → Future<bool>

Available on BMFPrismOverlay, provided by the BMFPrismOverlayUpdateExtension extension

更新建筑物信息
updateCoordinates(List<BMFCoordinate> coordinates) → Future<bool>

Available on BMFPrismOverlay, provided by the BMFPrismOverlayUpdateExtension extension

更新经纬度数组
updateFloorHeight(double floorHeight) → Future<bool>

Available on BMFPrismOverlay, provided by the BMFPrismOverlayUpdateExtension extension

更新楼层高度
updateSideFaceColor(Color sideFaceColor) → Future<bool>

Available on BMFPrismOverlay, provided by the BMFPrismOverlayUpdateExtension extension

更新侧面颜色
updateSideFacTexture(String sideFacTexture) → Future<bool>

Available on BMFPrismOverlay, provided by the BMFPrismOverlayUpdateExtension extension

更新侧面纹理
updateTopFaceColor(Color topFaceColor) → Future<bool>

Available on BMFPrismOverlay, provided by the BMFPrismOverlayUpdateExtension extension

更新顶面颜色

Operators

operator ==(Object other) → bool
The equality operator.
inherited