[gnome-maps] Don't zoom too much on street-level accuracy



commit 4ce1374ec9a073ccd315386de3e7f0ef8b4e6886
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Sat Apr 6 05:02:36 2013 +0300

    Don't zoom too much on street-level accuracy

 src/utils.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/utils.js b/src/utils.js
index a1ef094..19e321d 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -83,7 +83,7 @@ function initActions(actionMap, simpleActionEntries) {
 // accuracy: double value in meters
 function getZoomLevelForAccuracy(accuracy) {
     if (accuracy <= Geocode.LOCATION_ACCURACY_STREET)
-        return 18;
+        return 16;
     else if (accuracy <= Geocode.LOCATION_ACCURACY_CITY)
         return 13;
     else if (accuracy <= Geocode.LOCATION_ACCURACY_REGION)


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