Thanks, this makes sense as well.

On Mon, Aug 8, 2011 at 15:07, Andreas Hocevar <[email protected]> wrote:

> On Aug 8, 2011, at 13:30 , Jan Henrik Øverland wrote:
>
> > On Mon, Aug 8, 2011 at 13:25, Andreas Hocevar <[email protected]>
> wrote:
> > On Aug 8, 2011, at 12:45 , Julien Cigar wrote:
> >
> > > Hi,
> > >
> > > Normally the only thing to do is to use an "SRS" parameter, something
> like:
> >
> > This is a common pitfall when using OpenLayers. The SRS parameter will be
> ignored. Always. Instead, WMS layers will be requested in the SRS used by
> your base layer.
> >
> > Thanks, I see, and it makes perfectly sense when the WMS layer is an
> overlay. But this also goes when the WMS layer has isBaseLayer: true?
>
> In this case, you have to configure the projection layer option (i.e. in
> the 4th constructor argument), or the layer will take the projection from
> the map configuration. If none is configured, it will be EPSG:4326.
>
> Andreas.
>
> --
> Andreas Hocevar
> OpenGeo - http://opengeo.org/
> Expert service straight from the developers.
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to