TencentMapController class
Controller for a single TencentMap instance running on the host platform.
Properties
Methods
-
addMarker(
Marker marker) → void - 添加标记
-
destroy(
) → Future< void> - 销毁地图
-
getUserLocation(
) → Future< Location> - 获取当前定位
-
moveCamera(
CameraPosition position, [Duration? duration]) → void - 移动视野
-
moveCameraRegion(
Region region, EdgePadding padding, [Duration? duration]) → void - 移动地图视野到某个地图区域
-
moveCameraToRegionWithPosition(
List< LatLng> positions, EdgePadding padding, [Duration? duration]) → void - 移动地图视野到包含一组坐标点的某个地图区域
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pause(
) → Future< void> - 暂停地图渲染
-
removeMarker(
String markerId) → void - 移除标记点
-
removeRestrictRegion(
) → void -
resume(
) → Future< void> - 恢复地图渲染
-
setRestrictRegion(
Region region, RestrictRegionMode mode) → void - 限制地图显示区域
-
start(
) → Future< void> - 开始地图渲染
-
stop(
) → Future< void> - 停止地图渲染
-
toString(
) → String -
A string representation of this object.
inherited
-
updateMarker(
String markerId, MarkerUpdateOptions options) → void - 更新标记点
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
init(
int id, TencentMapState tencentMapState) → TencentMapController -
Initialize control of a TencentMap with
id
.