[gnome-maps/wip/user-location-toggle: 2/4] mapView: Set a nice default zoom level



commit c44b133213c8322d68c79e2fc9da7ffe5bbd4216
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Tue Apr 16 04:03:47 2013 +0300

    mapView: Set a nice default zoom level

 src/mapView.js | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/mapView.js b/src/mapView.js
index 943f31c..e759405 100644
--- a/src/mapView.js
+++ b/src/mapView.js
@@ -55,6 +55,7 @@ const MapView = new Lang.Class({
 
         this.actor = this.get_view();
         this.view = this.actor;
+        this.view.set_zoom_level(3);
 
         this._properties = new Properties.Properties(this);
         this.view.bin_layout_add(this._properties.actor,


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