[OpenLayers-Users] Zoom to a layer?

percy percyd at pdx.edu
Thu Nov 30 14:06:23 EST 2006


Typically this means "get the bounding box of the layer, and then zoom 
to that extent"

Erik Uzureau wrote:
> Can you be a little more explicit?
> I dont quite understand "zoom to a layer"
> -Erik
> 
> On 11/30/06, Thomas Zuberbuehler <tzuberbuehler at datacomm.ch> wrote:
>> Hi
>>
>> If there are a method in openlayers to zoom to a layer? Or has
>> somebody an idea how I can do that?
>>
>> Otherwise I can query the bbox from PostGIS, but I am searching for a
>> method without this sql query.
>>
>> Thank you.
>>
>> Regards,
>> Thomas
>>
>> --
>> Thomas Zuberbuehler
>> http://www.zubi.li
>>
>>
>> --
>> Thomas Zuberbuehler
>> http://www.zubi.li
>> _______________________________________________
>> Users mailing list
>> Users at openlayers.org
>> http://openlayers.org/mailman/listinfo/users
>>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 

-- 
David Percy
Geospatial Data Manager
Geology Department
Portland State University
http://gisgeek.pdx.edu
503-725-3373



More information about the Users mailing list