BMFGround class
该类用于定义一个图片图层
- Inheritance
- Object
- BMFModel
- BMFOverlay
- BMFGround
Constructors
-
BMFGround({@required String image,
double width, double height, double anchorX, double anchorY, int zoomLevel, BMFCoordinateBounds bounds, BMFCoordinate position, double transparency: 1.0, int zIndex: 0, bool visible: true} ) - BMFGround构造方法
-
BMFGround.withGround(Map map
)
Properties
- anchorX ↔ double
-
用位置绘制时图片的锚点x,图片左上角为(0.0f,0.0f),向右向下为正 [...]
read / write
- anchorY ↔ double
-
用位置绘制时图片的锚点y,图片左上角为(0.0f,0.0f),向右向下为正 [...]
read / write
- bounds ↔ BMFCoordinateBounds
-
两种绘制GroundOverlay的方式之二:绘制的地理区域范围,图片在此区域内合理缩放
read / write
- height ↔ double
-
高
read / write
- image ↔ String
-
绘制图片
read / write
- position ↔ BMFCoordinate
-
两种绘制GroundOverlay的方式之一:绘制的位置地理坐标,与anchor配对使用
read / write
- transparency ↔ double
-
图片纹理透明度,最终透明度 = 纹理透明度 * alpha,取值范围为【0.0f, 1.0f】,默认为1.0f
read / write
- width ↔ double
-
宽
read / write
- zoomLevel ↔ int
-
缩放级别(仅ios支持)
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- visible ↔ bool
-
overlay是否可见 [...]
read / write, inherited
- zIndex ↔ int
-
元素的堆叠顺序
s
Android独有
read / write, inherited
Methods
-
fromMap(
Map map ) → dynamic -
map -> dynamic
override
-
toMap(
) → Map< String, Object> -
model -> map
override
-
getId(
) → String -
inherited
-
getMethodChannel(
) → MethodChannel -
inherited
-
noSuchMethod(
Invocation invocation ) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
setMethodChannel(
MethodChannel methodChannel ) → void -
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other ) → bool -
The equality operator. [...]
inherited