Reported by jpatokal on 2008-08-15 14:48 UTC
If the map is panned so that the view overlaps the International Date Line, airports are visible only on the larger of the two halves. For example, if you center on a NRT-SFO flight, you can see NRT or SFO, but not both.
Commented by jpatokal on 2008-08-15 14:50 UTC
Logged In: YES
This is an OpenLayers date line wrapping artifact. Unfortunately, at least in OL 2.6, the hack used to fix this for Vectors (flight lines), namely drawing a duplicate at -360 and +360, does not work for Markers (airports).
Commented by jpatokal on 2009-12-01 22:08 UTC
Might be possible to fix this now that OF airport icons have been migrated from Markers to Vectors...
Commented by blakecrosby on 2012-01-11 03:32 UTC
This could be fixed by adding 360 degrees to your points... for example:
var point = new OpenLayers.Geometry.Point(x+360, y);
It works for me in my own code, just thought that I would pass this along.. see: