点击或拖拽改变大小

SwebClientGPSExtensionGetGps 方法

GPS

命名空间:  Swebui.Controls
程序集:  Swebui.Controls (在 Swebui.Controls.dll 中) 版本:1.0.0
语法
public static void GetGps(
	this SwebClientInfo info,
	GpsCallBackHandler handler,
	bool requestLocation = false,
	string amapKey = ""
)

参数

info
类型:SwebuiSwebClientInfo

[缺少 "M:Swebui.Controls.SwebClientGPSExtension.GetGps(Swebui.SwebClientInfo,Swebui.Controls.GpsCallBackHandler,System.Boolean,System.String)" 的 <param name="info"/> 文档]

handler
类型:Swebui.ControlsGpsCallBackHandler
委托回调
requestLocation (Optional)
类型:SystemBoolean
是否请求坐标点信息
amapKey (Optional)
类型:SystemString
高德WebKey

备注

在 Visual Basic 和 C# 中,这个方法可以当成为类型 SwebClientInfo 的实例方法来调用。在采用实例方法语法调用这个方法时,请省略第一个参数。请参考 扩展方法 (Visual Basic)扩展方法 (C# 编程指南) 获取更多信息。
参见