[OpenLayers-Users] Given Bounds, Calculate Zoom
Eric Lemoine
eric.lemoine at camptocamp.com
Wed Jun 15 08:01:09 EDT 2011
On Wed, Jun 15, 2011 at 1:54 PM, Arnie Shore <ashore3 at verizon.net> wrote:
> Making progress in my converting a GMaps application to OL, my latest
> quandary is the folg. (I'd think this is a common problem, but a search
> failed for me.)
>
> Given the bounds of a set of points, calculate the tightest zoom that will
> contain all.
<http://dev.openlayers.org/releases/OpenLayers-2.10/doc/apidocs/files/OpenLayers/Map-js.html#OpenLayers.Map.getZoomForExtent>
Cheers,
--
Eric Lemoine
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex
Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com
More information about the Users
mailing list