I'm looking for a way to listen in for when watchPosition() gets a new gps coordinate and then emit this automatically without using a javascript interval to blindly keep emiiting the values of watchPosition() with or without a change in the device's location.
Basically, update the latitude and longitude only when the device's location changes.
Thanks in advance!
via William Ebuka Okafor
No comments:
Post a Comment