AppMapController class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addMarker({required double latitude, required double longitude, required String? imageAsset, required Uint8List? imageBytes, required int index, bool center = false, String title = ""})
→ Future<bool>
-
添加一个Marker
-
addPolyline(List<Map<String, double>> points, int polylineId, {bool isDashed = false, Color color = Colors.red, int lineWidth = 5})
→ Future<bool>
-
添加折线
-
attachChannel(MethodChannel channel)
→ void
-
-
cleanAllMarkers()
→ Future<bool>
-
清除所有标记点
-
cleanPolyline()
→ Future<bool>
-
清除所有折线
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
setGesturesEnabled(bool isEnable)
→ Future<bool>
-
设置手势操作开关
-
setIncludeMarkers(List<Map<String, double>> coordinates, bool animated)
→ Future<bool>
-
设置缩放到显示所有点
-
setMapStyle(String style)
→ Future<bool>
-
更改地图样式
-
setMapType(String type)
→ Future<bool>
-
更改地图类型
-
setZoomLevel(double zoom, double latitude, double longitude)
→ Future<bool>
-
设置缩放级别
-
takeSnapshot()
→ Future<Uint8List?>
-
截图方法
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateLocation(double latitude, double longitude, bool animated)
→ Future<bool>
-
更新地图位置
-
updatePolyline(List<Map<String, double>> points, int polylineId, {bool isDashed = false, Color color = Colors.red, int lineWidth = 5})
→ Future<bool>
-
更新折线