diff --git a/location/Readme.md b/location/Readme.md index acb1b01f5..860171f68 100644 --- a/location/Readme.md +++ b/location/Readme.md @@ -1,23 +1 @@ -Initializing location: - -``` -var LocationManager = require("location").LocationManager; - -console.log('is location enabled: ' + LocationManager.isLocationEnabled()); - -this.locationManager = new LocationManager(); - -console.dump(this.locationManager.getLastKnownLocation()); - -this.locationManager.startLocationMonitoring(function(location) { - console.dump(location); -}, function(error) { - console.error(error); -}); -``` - -Stopping location: - -``` -this.locationManager.stopLocationMonitoring(); -``` \ No newline at end of file +Allows you to use the geolocation of the device.