I am working on a map which reads in google maps KML to render a series of lines plotted on the map in the asia pacific region.
a couple of the lines cross the international date line, and this seems to be causing a problem with the map layer.

http://drupal.org/files/Picture 10.png - my polygons in google maps
http://drupal.org/files/Picture 9.png - the same kml rendered with mappingkit

i was wondering if maybe this wrapDateLine option would sove my problems?

http://openlayers.org/dev/examples/wrapDateLine.html

how would i implement this in mappingkit? is this option available?

CommentFileSizeAuthor
#3 Flight Routes.kml_.txt4.13 KBthtas
Picture 10.png385.14 KBthtas
Picture 9.png368.31 KBthtas

Comments

thtas’s picture

sorry, those image links in the post are broken.

should be:
http://drupal.org/files/issues/Picture%2010_4.png - how it looks in google
http://drupal.org/files/issues/Picture%209_10.png - broken in mappingkit

jpulles’s picture

Assigned: Unassigned » jpulles

Is it possible to attach the kml or to add the external url?

thtas’s picture

StatusFileSize
new4.13 KB

See attached KML

jpulles’s picture

Alas, adding the OpenLayers wrapDateLine=true option for a kml layer does not have any effect. OpenLayers only supports dateline wrapping for WMS (raster) layers, and not for a vector layer like KML.
Sorry, that this doesn't help you.

jpulles’s picture

Status: Active » Closed (won't fix)