[OpenLayers-Users] any API to zoom to fit?

JK Chen jk.chen at sdl.usu.edu
Mon Jun 27 10:34:43 EDT 2011


Hi,

Given a polygon, is there an OpenLayers API that will automatically zoom the map to fit the polygon, similar to GMap API getBoundsZoomLevel()?

Thanks.

JK


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


More information about the Users mailing list