gotoAMapNavigation

fun gotoAMapNavigation(context: Context, toLatitude: Double, toLongitude: Double, isWGS84: Boolean = false, source: String = "amap", isMarket: Boolean = false, marketPackage: String? = null): Boolean

跳转到高德地图导航

参见:高德地图 - 导航

Parameters

context
toLatitude

终点纬度

toLongitude

终点经度

isWGS84

为true表示使用GPS原始坐标系:wgs84,为false表示使用火星坐标系:gcj02

source

第三方调用应用名称。默认为:amap

isMarket

当检测到未安装目标App时,是否跳转到应用市场,默认为false,表示不跳转

marketPackage

当跳转到应用市场时,指定具体的应用市场包名。如:华为,小米,应用宝等各大应用市场,默认为空,表示不指定