[OpenLayers-Users] Center map to minx miny maxx maxy coordinate

michele pierri pierm4ci at yahoo.it
Wed Jul 14 16:40:06 EDT 2010


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 <bmcbride at chacompanies.com> ha scritto:

Da: BMcBride <bmcbride at chacompanies.com>
Oggetto: Re: [OpenLayers-Users] Center map to minx miny maxx maxy coordinate
A: users at openlayers.org
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
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100714/f543327e/attachment.html


More information about the Users mailing list