[OpenLayers-Commits] r11543 - trunk/openlayers/examples
commits-20090109 at openlayers.org
commits-20090109 at openlayers.org
Fri Feb 25 19:33:11 EST 2011
Author: tschaub
Date: 2011-02-25 16:33:10 -0800 (Fri, 25 Feb 2011)
New Revision: 11543
Modified:
trunk/openlayers/examples/mobile-base.js
Log:
Making it so the map doesn't show the white void beyond the edge of the world.
Modified: trunk/openlayers/examples/mobile-base.js
===================================================================
--- trunk/openlayers/examples/mobile-base.js 2011-02-26 00:01:00 UTC (rev 11542)
+++ trunk/openlayers/examples/mobile-base.js 2011-02-26 00:33:10 UTC (rev 11543)
@@ -68,9 +68,10 @@
transitionEffect: 'resize'
}),
vector
- ]
+ ],
+ center: new OpenLayers.LonLat(0, 0),
+ zoom: 1
});
- map.zoomToMaxExtent();
var style = {
fillOpacity: 0.1,
More information about the Commits
mailing list