@hard-braking-zones/location

Project developed for monitoring hard braking zones as a scientific initiation at Facens in the period 2021/2022.

Install

npm install @hard-braking-zones/location
npx cap sync

API

getLocation()

getLocation() => any

Method that gets the current device location.

Returns: any


Interfaces

ILocation

Interface that represents the device location data.

Prop Type
deviceId string
accuracy number
longitude string
latitude string
speed number

GitHub

View Github