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, bool? isRoundedCorner, double? roundedCornerRadius, 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, bool? isRoundedCorner, double? roundedCornerRadius, 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?
read / write
className ↔ String?
类名
read / writeinherited
coordinates ↔ List<BMFCoordinate>?
经纬度数组
read / write
customMap ↔ Map?
开发者自定义字段
read / writeinherited
floorColor ↔ Color?
自定义建筑物的楼层颜色 (仅对建筑物生效) since 3.5.0
read / write
floorHeight ↔ double?
楼层高度 (仅对建筑物生效) since 3.5.0
read / write
floorSideTextureImage ↔ String?
自定义建筑物的楼层侧面纹理 (仅对建筑物生效) since 3.5.0
read / write
hashCode → int
The hash code for this object.
read-onlyinherited
height ↔ int?
高度
read / write
Id → String
获取id
read-onlyinherited
id → String
获取id since 3.2.0
read-onlyinherited
isGrowthAnimation ↔ bool?
是否开启生长动画(仅对建筑物生效),默认true
read / write
isRoundedCorner ↔ bool?
是否开启圆角 (仅对建筑物生效) since 3.8.0
read / write
roundedCornerRadius ↔ double?
开启圆角后,设置圆角半径,建议范围1~10,默认为5.0f (仅对建筑物生效) since 3.8.0
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
showLevel ↔ int?
建筑物显示层级(仅对建筑物生效), 默认18
read / write
sideFaceColor ↔ Color?
3D棱柱侧面颜色
read / write
sideFacTexture ↔ String?
3D棱柱侧面纹理图片路径
read / write
topFaceColor ↔ Color?
3D棱柱顶面颜色
read / write
visible ↔ bool?
overlay是否可见
read / writeinherited
zIndex ↔ int?
元素的堆叠顺序
read / writeinherited

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

Operators

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