AmapService class

除了地图以外的功能放在这里, 比如说sdk初始化

Properties

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Methods

calculateArea(LatLng leftTop, LatLng rightBottom) Future<double>
计算面积 (iOS未完成) [...]
calculateDistance(LatLng point1, LatLng point2) Future<double>
计算两点间的直线距离 [...]
convertCoord(LatLng coord, CoordType fromType) Future<LatLng>
转换其他坐标系到高德坐标系 [...]
init({String iosKey, String androidKey}) Future<void>
设置ios和android的app key
调用高德地图导航 [...]
queryProcessedTrace() Future<void>