[OpenLayers-Trac] [OpenLayers] #487: wrap the dateline

OpenLayers trac at openlayers.org
Fri May 25 14:10:30 EDT 2007


#487: wrap the dateline
----------------------+-----------------------------------------------------
  Reporter:  jrf      |       Owner:  metacarta  
      Type:  feature  |      Status:  new        
  Priority:  major    |   Milestone:  2.5 Release
 Component:  general  |     Version:             
Resolution:           |    Keywords:             
----------------------+-----------------------------------------------------
Comment (by tschaub):

 A fun exercise while considering dateline wrapping is to draw lines with
 Google's "My Maps".  If you zoom way out, things start out well as you are
 given 360 degrees to play with.  When you stray beyond the initial 360,
 your point wraps to the other side of the map though your cursor stays
 fixed.  As you add points and pan, it looks like this 360 degree window
 shifts, always giving you a good bit of room to add points.  Things
 quickly fall apart however if you start adding points at zoom 0 or so,
 then zoom to 2 or 3 and keep adding points.  Points are orphaned, lines
 fall apart, and things get crazy.  Similar craziness ensues when modifying
 polygons that wrap.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/487#comment:6>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list