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