Changeset 1808 for trunk/site/map.class.php
- Timestamp:
- 09/08/10 19:12:02 (21 months ago)
- Files:
-
- 1 modified
-
trunk/site/map.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/site/map.class.php
r1807 r1808 774 774 $this->drawArrow($this->mapImage, ($wp1ProjLong+$wp2ProjLong)/2.0, 775 775 ($wp1ProjLat+$wp2ProjLat)/2.0, 776 atan2(($wp2ProjLat-$wp1ProjLat),($wp1ProjLong-$wp2ProjLong)) , $this->colorWaypointsIndication);776 atan2(($wp2ProjLat-$wp1ProjLat),($wp1ProjLong-$wp2ProjLong))+180, $this->colorWaypointsIndication); 777 777 } else if ($waypoint['wpformat'] & WP_CROSS_ANTI_CLOCKWISE) { 778 778 $this->drawArrow($this->mapImage, ($wp1ProjLong+$wp2ProjLong)/2.0, 779 779 ($wp1ProjLat+$wp2ProjLat)/2.0, 780 atan2(($wp2ProjLat-$wp1ProjLat),($wp1ProjLong-$wp2ProjLong)) +180, $this->colorWaypointsIndication);780 atan2(($wp2ProjLat-$wp1ProjLat),($wp1ProjLong-$wp2ProjLong)), $this->colorWaypointsIndication); 781 781 } 782 782 } else {
