[OpenLayers-Users] Fwd: WMS layer getDataExtent?
jansen.marc at gmx.de
Thu Oct 25 04:36:06 EDT 2007
I'm also new to the list, but at least this response will get you some
more attention ;-)
As stated in the docs, OpenLayers.Layer.getDataExtent() is to be
implemented by the subclasses of layer.
For layers.WMS this is not the case
e.g for Layers.Markers
the method is defined.
I hope this helped a little bit, but keep in mind that this email is
coming from a novice.
See you over at mapstorer...
Alessandro Pasotti schrieb:
> 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
> I tried getDataExtent() on the layer, but it does'nt seem to work but I guess
> I misunderstood some important points.
More information about the Users