Show
Ignore:
Timestamp:
09/08/10 19:12:02 (21 months ago)
Author:
spf
Message:

more adjusting [See #34]

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/site/map.class.php

    r1807 r1808  
    774774            $this->drawArrow($this->mapImage, ($wp1ProjLong+$wp2ProjLong)/2.0,  
    775775                             ($wp1ProjLat+$wp2ProjLat)/2.0, 
    776                              atan2(($wp2ProjLat-$wp1ProjLat),($wp1ProjLong-$wp2ProjLong)), $this->colorWaypointsIndication); 
     776                             atan2(($wp2ProjLat-$wp1ProjLat),($wp1ProjLong-$wp2ProjLong))+180, $this->colorWaypointsIndication); 
    777777          } else if ($waypoint['wpformat'] & WP_CROSS_ANTI_CLOCKWISE) { 
    778778            $this->drawArrow($this->mapImage, ($wp1ProjLong+$wp2ProjLong)/2.0,  
    779779                             ($wp1ProjLat+$wp2ProjLat)/2.0, 
    780                              atan2(($wp2ProjLat-$wp1ProjLat),($wp1ProjLong-$wp2ProjLong))+180, $this->colorWaypointsIndication); 
     780                             atan2(($wp2ProjLat-$wp1ProjLat),($wp1ProjLong-$wp2ProjLong)), $this->colorWaypointsIndication); 
    781781          } 
    782782        } else {