0.0.6 • Published 11 months ago

updated-geolocation v0.0.6

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
11 months ago

updated-geolocation

Get a updated geolocation, without caches

Install

npm install updated-geolocation
npx cap sync

API

getCurrentLocation()

getCurrentLocation() => Promise<Position>

Returns: Promise<Position>


Interfaces

Position

PropTypeDescriptionSince
timestampnumberCreation timestamp for coords1.0.0
coords{ latitude: number; longitude: number; accuracy: number; altitudeAccuracy: number | null; altitude: number | null; speed: number | null; heading: number | null; }The GPS coordinates along with the accuracy of the data1.0.0
0.0.6

11 months ago