BMFPrismOverlay class Null safety

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})
3d棱柱构造方法
BMFPrismOverlay.buildingForColor({required BMFBuildInfo? buildInfo, required Color? topFaceColor, required Color? sideFaceColor, bool? isGrowthAnimation = true, int? showLevel, int? height, int zIndex = 0, bool visible = true})
地图建筑物颜色构造方法
BMFPrismOverlay.buildingForTexture({required BMFBuildInfo? buildInfo, required Color? topFaceColor, required String? sideFacTexture, bool? isGrowthAnimation = true, int? showLevel, int? height, int zIndex = 0, bool visible = true})
地图建筑物纹理构造方法
BMFPrismOverlay.colorPrismOverlay({required List<BMFCoordinate>? coordinates, required Color? topFaceColor, required Color? sideFaceColor, int? height, int zIndex = 0, bool visible = true})
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})
3d棱柱纹理构造方法

Properties

buildInfo ↔ BMFBuildInfo?
read / write
className ↔ String?
类名
read / write, inherited
coordinates ↔ List<BMFCoordinate>?
经纬度数组
read / write
hashCode → int
The hash code for this object.
read-only, inherited
height ↔ int?
高度
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
isGrowthAnimation ↔ bool?
是否开启生长动画(仅对建筑物生效),默认true
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
showLevel ↔ int?
建筑物显示层级(仅对建筑物生效), 默认18
read / write
sideFaceColor ↔ Color?
3D棱柱侧面颜色
read / write
sideFacTexture ↔ String?
3D棱柱侧面纹理图片路径
read / write
topFaceColor ↔ Color?
3D棱柱顶面颜色
read / write
visible ↔ bool?
overlay是否可见
read / write, inherited
zIndex ↔ int?
元素的堆叠顺序
read / write, inherited

Methods

fromMap(Map map) → dynamic
map -> dynamic
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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