From: David Seifried Date: Tue, 21 Jun 2011 13:49:01 +0000 (-0400) Subject: [#577] Added default zoom of 8 for googlemap X-Git-Tag: v0.7^2~19^2~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=9dbd76cc862018ffdaafb0855ee0800fbaba232b;p=popcorn-js.git [#577] Added default zoom of 8 for googlemap --- 9dbd76cc862018ffdaafb0855ee0800fbaba232b diff --cc plugins/googlemap/popcorn.googlemap.js index 5bd3540,94b1231..f2b2bec --- a/plugins/googlemap/popcorn.googlemap.js +++ b/plugins/googlemap/popcorn.googlemap.js @@@ -158,7 -158,7 +158,8 @@@ var googleCallback options.zoom = +options.zoom; } - options.zoom = options.zoom || 8; // default to 0 + options.zoom = options.zoom || 8; // default to 8 ++ map.setZoom( options.zoom ); //Make sure heading is a number