]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
[#577] Added default zoom of 8 to googlemaps
authorDavid Seifried <david.c.seifried@gmail.com>
Tue, 21 Jun 2011 13:45:48 +0000 (09:45 -0400)
committerDavid Seifried <david.c.seifried@gmail.com>
Tue, 21 Jun 2011 13:45:48 +0000 (09:45 -0400)
plugins/googlemap/popcorn.googlemap.js

index 0287afb1c59aa3dabdb48cd56827544cdfbcd98c..5bd35405ff944157330c5565b2fbf7871c510e91 100755 (executable)
@@ -158,7 +158,7 @@ var googleCallback;
               options.zoom = +options.zoom;
             }
 
-            options.zoom = options.zoom || 0; // default to 0
+            options.zoom = options.zoom || 8; // default to 8
             map.setZoom( options.zoom );
 
             //Make sure heading is a number