munkireport/location

munkireport 的模块。

安装次数: 8,733

依赖项: 0

建议者: 0

安全: 0

星标: 2

关注者: 4

分支: 4

开放问题: 0

语言:JavaScript

v1.6 2020-05-31 09:34 UTC

This package is auto-updated.

Last update: 2024-09-20 23:28:56 UTC


README

提供有关 Mac 物理位置的定位信息。

此模块依赖于位于此处的外部项目 pinpoint:[https://github.com/jelockwood/pinpoint](https://github.com/jelockwood/pinpoint)

注意:为了避免看到开发地图,您需要在 Google Cloud Platform 控制台中启用 Maps JavaScript API,并将其作为 GOOGLE_MAPS_API_KEY 添加到 MunkiReport 的 .env 配置文件中。

#数据库条目

以下数据被收集,可以通过 MunkiReport 的 API 访问

  • 地址 - Str,估计的街道地址
  • 纬度 - Str,纬度
  • 经度 - Str,经度
  • 纬度精度 - Int,纬度精度
  • 经度精度 - Int,经度精度
  • 高度 - Int,高度
  • GoogleMap - Str,预填充的 Google Maps URL
  • LastRun - Str,存储在 UTC 时间中的最后一次运行时间
  • LastLocationRun - Str,最后一次成功运行位置的时间
  • CurrentStatus - Str,描述最后一次运行的友好消息
  • LS_Enabled - Int,是否启用位置服务
  • StaleLocation - Str,是/否,指示搜索位置是否来自旧运行