Ok thanks, I have used:map.zoomToExtent(new OpenLayers.Bounds(parseFloat(coord[0]),parseFloat(coord[1]),parseFloat(coord[2]),parseFloat(coord[3]) )); And if I would draw a boundin box with these coordinate? How can I do?
Sorry but I am not expert. Thanks again. --- Mer 14/7/10, BMcBride <[email protected]> ha scritto: Da: BMcBride <[email protected]> Oggetto: Re: [OpenLayers-Users] Center map to minx miny maxx maxy coordinate A: [email protected] Data: Mercoledì 14 luglio 2010, 22:24 Try map.zoomToExtent http://dev.openlayers.org/releases/OpenLayers-2.9.1/doc/apidocs/files/OpenLayers/Map-js.html#OpenLayers.Map.zoomToExtentBryan R. McBride, GISP bryanmcbride.com View this message in context: Re: Center map to minx miny maxx maxy coordinate Sent from the OpenLayers Users mailing list archive at Nabble.com. -----Segue allegato----- _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
