[OpenLayers-Users] WMS layer getDataExtent?

Alessandro Pasotti ale.pas at tiscali.it
Tue Oct 23 05:20:50 EDT 2007


Hi all,

I'm new to this list and to ol.

I'm playing with a WMS layer and I'm trying to auto-center the map depending 
on the layer extent.

Is there a way to do this automatically? 

I mean extracting layer extent from a getCapabilities request or sometinhg the 
like.

I tried getDataExtent() on the layer, but it does'nt seem to work but I guess  
I misunderstood some important points.

-- 
Alessandro Pasotti
itOpen - "Open Solutions for the Net Age"
w3:  www.itopen.it
Linux User# 167502



More information about the Users mailing list