Allows you to use the geolocation of the device.
Fires a single shot location search. If you specify timeout in options (milliseconds), location search will stop on timeout. If you specify timeout = 0 it just requests the last known location. However if you specify maximumAge and the location received is older it won't be received.
An optional object specifying location update settings.
[Deprecated. Please use same functionality from
nativescript-geolocation npm module]