[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 02:00:01 EDT 2009
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090714/feb581c5/attachment.html
More information about the Users
mailing list