[OpenLayers-Users] Google with WMS singleTile Overlay
Philippe Grégoire
philippe.gregoire at boreal-is.com
Fri Aug 15 08:31:11 EDT 2008
Thanks Chris for the reply.
I tried the ratio:1.0 trick and it seems a bit more tricky than what you
said. There is no error sent by Mapserver (my WMS server). When I have a
bit more than an entire earth coverage displayed, my layer displays
properly, but only on the right-hand side of the map, instead of
overlaying on top of the 'central' coverage. The bounding box sent to
the WMS is okay :
BBOX=-24205466.6167875,-5898495.025650002,24205466.6167875,15000000
Any thoughts on that?
Philippe
Christopher Schmidt wrote:
> On Thu, Aug 14, 2008 at 01:38:47PM -0400, Philippe Grégoire wrote:
>
>> Hi Everyone
>>
>> I'm having a little trouble with a Google base map and WMS overlays.
>> When zoomed out (resolutions 0,1,2 of Google Maps), it seems that OL
>> doesn't display my overlay layers. This happens only if I set the
>> property singleTile:true on my overlay. If I remove that property it
>> displays just fine. When I zoom in, the overlays are displayed properly too.
>>
>> Can someone tell me why the overlays are not displayed?
>>
>
> Your singleTile wraps the date line. Google's API then changes the
> request to be "175,-90,-175,90": the end result being that you've got an
> invalid request. MapServer is probably generating an error message for
> this, if you drage the map 'down and to the right', you might see it in
> the upper right corner. Setting ratio to '1.0' as a layer option might
> help this as well.
>
> Regards,
>
More information about the Users
mailing list