Default zoom in config or 0.

This commit is contained in:
zeeZ 2011-05-17 13:34:54 +02:00
parent d840b07960
commit 0caa655095
2 changed files with 2 additions and 1 deletions

View File

@ -129,6 +129,7 @@ web:
# fillColor: "#FF0000"
# fillOpacity: 0.35
defaultzoom: 0
defaultworld: world
worlds:
- title: World

View File

@ -125,7 +125,7 @@ DynMap.prototype = {
.appendTo(container);
var map = this.map = new google.maps.Map(mapContainer.get(0), {
zoom: 1,
zoom: me.options.defaultzoom || 0,
center: new google.maps.LatLng(0, 1),
navigationControl: true,
navigationControlOptions: {