[OpenLayers-Users] auto set zoom level in layer?

Carlos Henriquez carloshhp at gmail.com
Fri Feb 25 23:04:08 EST 2011


Hi, i'm trying to autoset zoom level depending on the information in a
layer, i have a layer (WMS) comming from geoserver, and the data comes from
a table in postgis, so i have a lot of points (each one coming from a row in
a postgis table) i know latitude and longitude from each point since it is
stored in the database, i can get the ponint with the max value in latitude
and longitude, and the one with the min values, is it posible to set the
zoom level with this information so when i open my layer i see all the
points?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110225/44f413a1/attachment.html


More information about the Users mailing list