You might want to look at : getZoomForExtent http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLayers/Map-js.html#OpenLayers.Map.getZoomForExtent
and zoomToExtent http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLayers/Map-js.html#OpenLayers.Map.zoomToExtent Lennox On Mon, Jul 12, 2010 at 8:01 PM, MostlyBaldEagle <[email protected]>wrote: > > I need to figure out what zoom level to use to be able to fully see a > rectangular area bound by max latitude + longitude and min latitude + > longitude. > > Anybody ever done this? Any hints would be appreciated > > Thanks > Olaf > -- > View this message in context: > http://osgeo-org.1803224.n2.nabble.com/Calculating-zoom-level-from-an-area-tp5285435p5285435.html > Sent from the OpenLayers Users mailing list archive at Nabble.com. > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users >
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
