<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt;color:#000000;"><div>Hello,</div><div><br></div><div>In my project (<a href="http://maps.zgb.de/www/eeg/wea_wfs.html">http://maps.zgb.de/www/eeg/wea_wfs.html</a>) I am pretty irritated by the fact that the map initates by showing the full extents of the sphericalmercator for a couple of seconds before zooming into the extents of the data.&nbsp;</div><div>I would like the map to jump straight into the defined extents in the map object ie .maxExtent: new OpenLayers.Bounds(912352.369449, 6720955.021855, 1391765.410767, 7014473.210418),</div><div><br></div><div><br></div><div>I am not sure if this occurs "whilst" the data is loading, but I would like the map to be restricted to these extents and not to render the whole projection before the data is loaded.</div><div><br></div><div>Can anyone
 help?,</div><div><br></div><div>Yours,</div><div><br></div><div>Rob</div><div><br></div><div><div>var mapOptions = {</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>projection:epsg3857,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; displayProjection: new OpenLayers.Projection(epsg3857),</div><div>&nbsp; &nbsp; &nbsp; &nbsp; units: "m",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; minScale: 1000,</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>numZoomLevels: 21,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; maxResolution: 156543.0339,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; maxExtent: new OpenLayers.Bounds(912352.369449, 6720955.021855, 1391765.410767, 7014473.210418),</div><div>&nbsp; &nbsp; &nbsp; &nbsp; controls: [new OpenLayers.Control.MouseDefaults()</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>,new OpenLayers.Control.PanZoomBar()</div><div><span class="Apple-tab-span" style="white-space:pre">        
        </span>,new OpenLayers.Control.MousePosition()</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>//,new OpenLayers.Control.LayerSwitcher()</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>,new OpenLayers.Control.ScaleLine({geodesic: true})]</div><div>&nbsp; &nbsp; };</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; map_wea = new OpenLayers.Map("map_wea", mapOptions);</div></div><div style="position:fixed"></div>


</div></body></html>