高德地图 Windows Phone 8 搜索API参考手册The AMapGeolocator type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
![]() | AMapGeolocator |
创建定位类
|
Methods
Name | Description | |
---|---|---|
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() | 允许 (Inherited from ![]() ![]() |
![]() | GetGeopositionAsync |
获取用户位置
|
![]() | GetGeopositionAsync(TimeSpan, TimeSpan) |
获取用户位置
|
![]() | ![]() | 用作特定类型的哈希函数。 (Inherited from ![]() |
![]() | ![]() | 获取当前实例的 (Inherited from ![]() ![]() |
![]() | ![]() | 创建当前 (Inherited from ![]() ![]() |
![]() | ![]() | 返回一个字符串,它表示当前的对象。 (Inherited from ![]() |
Properties
Name | Description | |
---|---|---|
![]() | DesiredAccuracy |
获取或者设置定位精度模式, 模式非为Default 和High
|
![]() | LocationStatus | 获取定位状态PositionStatus, PositionStatus分为: 0 : 提供位置数据 1 : 位置提供程序正在初始化。如果 GPS 是位置数据源,并且视图中的 GPS 接收器没有所需的附属数目来获取准确的位置,则此为该状态。 2 : 所有位置提供程序均未提供位置数据 3 : 位置提供程序已禁用 4 : 检索位置的操作尚未初始化 5 : Windows 传感器和位置平台在此版本的 Windows 中不可用 |
![]() | MovementThreshold |
获取并设置相对于来自最后的 PositionChanged 事件的坐标的移动距离(以米为单位),Geolocator 需要该移动距离来引发 PositionChanged 事件
|
![]() | ReportInterval |
在位置更新之间请求的最小时间间隔(以毫秒为单位)。如果您的应用程序很少需要更新,则设置此值,以便位置提供程序可通过仅在需要时计算位置来节省电源
|
Events
Name | Description | |
---|---|---|
![]() | PositionChanged |
在更新位置时引发
|
![]() | StatusChanged |
在 Geolocator 提供更新位置的功能发生更改时引发
|
See Also