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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user