What is the prefered way to get speed, distance and altitude in Ionic 2?


#1

I’m developing a google map based application, and i would like to know how to get the distance speed and altitude.

It seems Geolocation.getCurrentPosition() and Geolocations.watchPosition() can’t correctly get the infomations i need, is it better to use Navigator.geolocation ? or maybe the backgroundLocation native plugin ?

Thx.


#2

I’ve used Ionic Native BackgroundGeolocation with success