[OpenLayers-Users] Fwd: WMS layer getDataExtent?

Alessandro Pasotti ale.pas at tiscali.it
Thu Oct 25 03:05:58 EDT 2007


Forgive me if I push on this, even an RTFM or a "forget it" would be 
appreciated before I start implementing this by myself.



----------  Messaggio inoltrato  ----------

Subject: [OpenLayers-Users] WMS layer getDataExtent?
Date: martedì 23 ottobre 2007
From: Alessandro Pasotti <ale.pas at tiscali.it>
To: users at openlayers.org

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