[OpenLayers-Users] change of baselayer changes bbox

Christian Mayer mayer at terrestris.de
Thu Mar 24 09:08:43 EDT 2011


Hi,

could you please post the code how you define your WMS layer? This would 
make it easier to find the problem.

Best regards,
Chris


Am 24.03.2011 11:13, schrieb Sven Burbeck:
> Hi list,
> I have the following problem.
> My baselayer is of type "OpenLayers.Layer.Google".  MapProjection =
> "EPSG: 3857" (same as 900913).
> So far everything works well.
> Now I would like to add a second Baselayer of type
> "OpenLayers.Layer.WMS".  (Fist I tried using this layer as overlay-layer
> and everything worked well)
> However, when adding it as baselayer and changing the baselayer by
> radiobutton apparently the mapExtent changes and I can't display the new
> baselayer (WMS) anymore.
>
> Is there anything, that I have to take into account when adding a layer
> as baselayer rather than as overlay?
>
> cheers,
> Sven
>


More information about the Users mailing list