From: David Seifried Date: Tue, 21 Jun 2011 13:43:51 +0000 (-0400) Subject: [#577] Added a default zoom of 8 for googlemaps X-Git-Tag: v0.7^2~19^2~1^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=ef12a0599ef296958096b1943c0883770c927eb6;p=popcorn-js.git [#577] Added a default zoom of 8 for googlemaps --- diff --git a/plugins/googlemap/popcorn.googlemap.js b/plugins/googlemap/popcorn.googlemap.js index 0287afb..94b1231 100755 --- a/plugins/googlemap/popcorn.googlemap.js +++ b/plugins/googlemap/popcorn.googlemap.js @@ -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 0 map.setZoom( options.zoom ); //Make sure heading is a number