[OpenLayers-Users] problem w/ WMS Layer using wrapDateLine and displaying a feature which crosses the dateline

John Cartwright john.c.cartwright at comcast.net
Tue Jul 14 10:25:47 EDT 2009


sorry - forgot to mention this is happening on version 2.8, but I  
think I also saw the same problem at 2.7.

--john


On Jul 14, 2009, at 12:00 AM, John Cartwright wrote:

> Hello All,
>
> I'm experiencing some strange behavior using a Layer defined like:
>
> var wms = new OpenLayers.Layer.WMS( "OpenLayers WMS",
>                 "http://labs.metacarta.com/wms/vmap0?", {layers:  
> 'basic'}, {wrapDateLine:true});
>
> and then adding a WKT feature to it defined like:
>
> MULTILINESTRING((150 0, 180 0), (-180 0, -150 0))
>
>
> It initially displays properly, but when one pans in the x  
> direction, the feature does not redraw correctly.  This seems to  
> only be a problem when using the wrapDateLine option.
>
>
> Is this a known issue or am I missing something?
>
> Thanks!
>
> --john
>
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090714/9d3eae06/attachment.html


More information about the Users mailing list