Making it so the map doesn't show the white void beyond the edge of the world.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@11543 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2011-02-26 00:33:10 +00:00
parent 6486043716
commit 1425c2b0e6

View File

@@ -68,9 +68,10 @@ var init = function () {
transitionEffect: 'resize'
}),
vector
]
],
center: new OpenLayers.LonLat(0, 0),
zoom: 1
});
map.zoomToMaxExtent();
var style = {
fillOpacity: 0.1,