<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Ok thanks, I have used:<div><div>map.zoomToExtent(new OpenLayers.Bounds(parseFloat(coord[0]),parseFloat(coord[1]),parseFloat(coord[2]),parseFloat(coord[3]) ));</div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span></div><div>And if I would draw a boundin box with these coordinate?<br>How can I do?<br><br>Sorry but I am not expert.</div><div><br></div><div>Thanks again.</div><br>--- <b>Mer 14/7/10, BMcBride <i><bmcbride@chacompanies.com></i></b> ha scritto:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>Da: BMcBride <bmcbride@chacompanies.com><br>Oggetto: Re: [OpenLayers-Users] Center map to minx miny maxx maxy coordinate<br>A: users@openlayers.org<br>Data: Mercoledì 14 luglio 2010, 22:24<br><br><div id="yiv223967541">
Try <pre>map.zoomToExtent</pre>
<a rel="nofollow" target="_blank" href="http://dev.openlayers.org/releases/OpenLayers-2.9.1/doc/apidocs/files/OpenLayers/Map-js.html#OpenLayers.Map.zoomToExtent">
http://dev.openlayers.org/releases/OpenLayers-2.9.1/doc/apidocs/files/OpenLayers/Map-js.html#OpenLayers.Map.zoomToExtent</a><div class="signature">Bryan R. McBride, GISP
<br><a rel="nofollow" target="_blank" href="http://www.bryanmcbride.com?by-user=t">bryanmcbride.com</a></div>
<br><hr align="left" width="300">
View this message in context: <a rel="nofollow" target="_blank" href="http://osgeo-org.1803224.n2.nabble.com/Center-map-to-minx-miny-maxx-maxy-coordinate-tp5294607p5294634.html">Re: Center map to minx miny maxx maxy coordinate</a><br>
Sent from the <a rel="nofollow" target="_blank" href="http://osgeo-org.1803224.n2.nabble.com/OpenLayers-Users-f1822463.html">OpenLayers Users mailing list archive</a> at Nabble.com.<br>
</div><br>-----Segue allegato-----<br><br><div class="plainMail">_______________________________________________<br>Users mailing list<br><a ymailto="mailto:Users@openlayers.org" href="/mc/compose?to=Users@openlayers.org">Users@openlayers.org</a><br><a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br></div></blockquote></div></td></tr></table><br>