[OpenLayers-Users] WMS layer not on "right" world

Gilbert, Antoine AGilbert at korem.com
Wed Aug 22 13:14:21 PDT 2012


I meant in my case my WMS is overlaped on the next google world on the
right, not on the left

On 12-08-22 3:48 PM, "Gilbert, Antoine" <AGilbert at korem.com> wrote:

>Hi list
>
>I have a problem I already solved with some workaround found somewhere
>for OpenLayers 2.9, so it's long time ago and I don't remember very well
>
>Anyway, my problem is, with a Google base map, sometime my WMS layer is
>overlaped in the wrong world
>
>Example:
>
>
> *   at first I'm centred at 0,0 on zoom level 0 or 1, My WMS WORLD
>overlap correctly the Google WORLD
> *   If I double click zoom on australia, my WMS world is overlaped by
>open layers on the next google world to the left
>
>This is strange because in the initSingleTile method, I see the
>left-right span something around from 3,000,000 to 27,000,000 (m) but the
>getURL of my WMS layer receive ­37,000,000 to ­13,000,000
>
>Why I have this shifting problem?
>
>Antoine Gilbert
>_______________________________________________
>Users mailing list
>Users at lists.osgeo.org
>http://lists.osgeo.org/mailman/listinfo/openlayers-users



More information about the Users mailing list