[gnome-maps] geoclue: Print location details when updated



commit 4ddbe75d471e3477693d5527edd735a10330a30e
Author: €ãâ2V <€ãâ2V>
Date:   Thu Jun 8 12:07:59 2017 +0200

    geoclue: Print location details when updated
    
    https://bugzilla.gnome.org/show_bug.cgi?id=783544

 src/geoclue.js |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/geoclue.js b/src/geoclue.js
index c0408cf..570f34e 100644
--- a/src/geoclue.js
+++ b/src/geoclue.js
@@ -121,6 +121,8 @@ const Geoclue = new Lang.Class({
 
         this.place.location = location;
         this.emit('location-changed');
-        Utils.debug("Updated location: " + location.description);
+        Utils.debug("Updated location: " + location.description +
+                    " (" + location.latitude + ", " + location.longitude +
+                    ", accuracy = " + location.accuracy + " m)");
     }
 });


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]