点击或拖拽改变大小

ApiManagerGetGpsAmap 方法 (GpsCallBackHandler, GPSSource, Boolean, String, Int32)

通过高德接口获取GPS数据

命名空间:  Smobiler.Core.RPC
程序集:  Smobiler.Core (在 Smobiler.Core.dll 中) 版本:6.0.641.16928
语法
public void GetGpsAmap(
	GpsCallBackHandler handler,
	GPSSource source,
	bool requestLocation = false,
	string amapKey = "",
	int timeOut = 60000
)

参数

handler
类型:Smobiler.Core.ControlsGpsCallBackHandler
回调实例
source
类型:Smobiler.Core.ControlsGPSSource
GPS来源
requestLocation (Optional)
类型:SystemBoolean
是否请求位置描述
amapKey (Optional)
类型:SystemString
高德WEBKEY
timeOut (Optional)
类型:SystemInt32
超时时间[毫秒]
参见