[OpenLayers-Users] Calculating zoom level from an area
christopher.schmidt at nokia.com
christopher.schmidt at nokia.com
Mon Jul 12 23:27:34 EDT 2010
On Jul 12, 2010, at 8:01 PM, ext MostlyBaldEagle 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
>
map.getZoomForExtent(bounds);
> 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
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
Regards,
--
Christopher Schmidt
Nokia
More information about the Users
mailing list