AMapController class
Properties
- channel → MethodChannel
-
只用于测试
用于与native的通信
@visibleForTesting, read-only
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- mapId → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
clearDisk(
) → Future< void> - 清空缓存
-
disponse(
) → void -
getMapContentApprovalNumber(
) → Future< String> - 获取地图审图号(普通地图) [...]
-
getSatelliteImageApprovalNumber(
) → Future< String> - 获取地图审图号(卫星地图) [...]
-
moveCamera(
CameraUpdate cameraUpdate, {bool animated, int duration}) → Future< void> - 改变地图视角 [...]
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
setRenderFps(
int fps) → Future< void> - 设置地图每秒渲染的帧数
-
takeSnapshot(
) → Future< Uint8List> - 地图截屏
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited
Static Methods
-
init(
int id, CameraPosition initialCameration, _MapState mapState) → Future< AMapController> - 根据传入的id初始化AMapController 主要用于在AMapWidget初始化时在AMapWidget.onMapCreated中初始化controller