<body bgcolor="#FFFFFF" background="https://img.web.de/v/p.gif" class="bgRepeatYes" style="; background-color: rgb(255, 255, 255); padding-left: 0px; background-repeat: repeat repeat;"><div style="min-height: 200px; background-image: url(https://img.web.de/v/p.gif); background-repeat: repeat; background-color: #ffffff; padding-left: 0px;"><span style="font-family: verdana, geneva;"><span>Hello List,</span></span><br /><span style="font-family: verdana, geneva;"><span>i&acute;ve got a Problem with my maxExtent. I am always getting the whole world, but i don&acute;t know why?</span></span><br /><span style="font-family: verdana, geneva;"><span>That&acute;s my code for implementing the map:</span></span><br /><br /><span style="font-family: verdana, geneva;"><span>[code]</span></span><br /><span style="font-family: verdana, geneva;"><span>&nbsp;
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="font-family: verdana, geneva;">&nbsp;map = new OpenLayers.Map('karte');</span></div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="font-family: verdana, geneva;">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;layer = new OpenLayers.Layer.OSM( "Simple OSM Map");</span></div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="font-family: verdana, geneva;">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;map.addLayer(layer);</span></div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="font-family: verdana, geneva;">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;map.zoomToExtent(new OpenLayers.Bounds(100,-30,200,-50));</span></div>
<span style="font-family: verdana, geneva;">&nbsp;map = new OpenLayers.Map('karte');//Map EPSG 4326?????<br /></span><span style="font-family: verdana, geneva;">&nbsp;&nbsp;layer = new OpenLayers.Layer.OSM( "Simple OSM Map");</span><span style="font-family: verdana, geneva;">&nbsp;//OSM-EPSG:90013<br />&nbsp;&nbsp;map.addLayer(layer);<br /></span><span style="font-family: verdana, geneva;">&nbsp;&nbsp;map.zoomToExtent(new OpenLayers.Bounds(100,-30,200,-50));<br />[/code]<br /><br />when i now use the button maxExtent, i am getting the whole world- why?<br /><br />thanks tim&nbsp;</span></span></span></div>&nbsp;&nbsp;<br><br><table cellpadding="0" cellspacing="0" border="0"><tr><td bgcolor="#000000"><img src="https://img.web.de/p.gif" width="1" height="1" border="0" alt="" /></td></tr><tr><td style="font-family:verdana; font-size:12px; line-height:17px;">WEB.DE DSL Doppel-Flat ab 19,99 &euro;/mtl.! Jetzt mit &nbsp;&nbsp;&nbsp;<br>gratis Handy-Flat! <a href="http://produkte.web.de/go/DSL_Doppel_Flatrate/2"><b>http://produkte.web.de/go/DSL_Doppel_Flatrate/2</b></a></td></tr></table>
</body>