[OpenLayers-Users] WMS in OpenLayers: Objects get Cut

Pfirter Lukas lp at rpag.ch
Wed Jul 18 03:47:55 EDT 2007


Well there are 2 different problems:

Problem 1: With OpenLayers.Layer.WMS: The description of an object in one tile is not continued in the next tile that comes from the mapserver. In the meantime, I know that this is "normal behaviour" of the mapserver, because he doesn't know, that OpenLayers is going to get an other tile right next to it and therefore doesn't display a part of a discription from an object not in this tile.

Problem 2: With OpenLayers.Layer.WMS.Untiled: When entering the map, everything seems fine. But as soon as I zoom in, only a little part from the MapServer is visible above the Google Layer. When moving the map around a few times, it gets visible. When zooming in again, same thing: I have to move the map around to make everything visible that should be there. I think this is a OL problem. See this: http://map.webser125.lookass.ch/openlayers/ex_rpag_google2.php
You can see a fwe objects (white arrows, ...). When you zoom in, only one arrow is visible at the top left (there should be more things in the center area). Moving the map around and back to where you were makes the other things visible... This problem exists in Firefox 2 AND IE 7...

Lucas

-----Ursprüngliche Nachricht-----
Von: Benoit Myard [mailto:myardbenoit at gmail.com] 
Gesendet: Dienstag, 17. Juli 2007 16:37
An: Pfirter Lukas
Betreff: Re: [OpenLayers-Users] WMS in OpenLayers: Objects get Cut

On 13/07/07, Pfirter Lukas <lp at rpag.ch> wrote:
> I've already tried "OpenLayers.Layer.WMS.Untiled"...
> It actually works fine as long as you don't zoom or move the map around (as long as you stay in the entry view).
> As soon as zooming in one level, it gets cut again...

What do you mean "cut" ? I think I've missed something because I use WMS.Untiled with no problem!

--
Benoit Myard



More information about the Users mailing list