mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-13 22:05:12 +01:00
Merge pull request #149 from zeeZ/0caa6550
Default zoom to 0, option in config.
This commit is contained in:
commit
32da02ffaa
@ -129,6 +129,7 @@ web:
|
||||
# fillColor: "#FF0000"
|
||||
# fillOpacity: 0.35
|
||||
|
||||
defaultzoom: 0
|
||||
defaultworld: world
|
||||
worlds:
|
||||
- title: World
|
||||
|
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user