Set up a watch for location changes. Note that watching for location changes
can consume a large amount of energy. Be smart about listening only when you need to.
// Whether your app needs altitude data or not. This can impact the
sensor the device uses, increasing energy consumption.
Note: altitude information may not be available even when
passing true here. Similarly, altitude data maybe be returned
even if this value is false, in the case where doing so requires
no increased energy consumption.
requireAltitude?:
boolean;
timeout?:
number;
}
GeolocationPosition
interfaceGeolocationPosition{
// The GPS coordinates along with the accuracy of the data