From 1425c2b0e6c019309d184f5f1399efaf459f8fb1 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Sat, 26 Feb 2011 00:33:10 +0000 Subject: [PATCH] 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 --- examples/mobile-base.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/mobile-base.js b/examples/mobile-base.js index 525e3c89ec..9cf9b859e2 100644 --- a/examples/mobile-base.js +++ b/examples/mobile-base.js @@ -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,