Make the world fit in the map window using auto.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@791 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2006-06-27 12:33:27 +00:00
parent f4342723e4
commit f62eb0f687

View File

@@ -11,7 +11,7 @@
<script type="text/javascript">
<!--
function init(){
var map = new OpenLayers.Map('map', {'maxResolution': 1.40625/4});
var map = new OpenLayers.Map('map', {'maxResolution': 'auto'});
var ol_wms = new OpenLayers.Layer.WMS( "OpenLayers WMS",
"http://labs.metacarta.com/wms/vmap0?", {layers: 'basic'} );