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

michele pierri pierm4ci at yahoo.it
Wed Jul 14 16:18:20 EDT 2010


Hi,I have a bounding box with this coordiate:- minx miny;- maxx maxy.
So I would center my map on this coordinate.How I have to do it?
I have seen:map.setCenter();
but I don't know what kind of parameters I have to use.
How I can do it?
Thanks a lot.





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


More information about the Users mailing list