Changeset 1807

Show
Ignore:
Timestamp:
09/08/10 19:10:05 (17 months ago)
Author:
spf
Message:

adjusting

Files:
1 modified

Legend:

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

    r1806 r1807  
    810810          // FIXME more arrows ? 
    811811          if ($waypoint['wpformat'] & WP_CROSS_CLOCKWISE) { 
    812             $this->drawArrow($this->mapImage, $wp1ProjLong+20*cos(deg2rad(90-$waypoint['laisser_au'])),  
     812            $this->drawArrow($this->mapImage, $wp1ProjLong-20*cos(deg2rad(90-$waypoint['laisser_au'])),  
    813813                             $wp1ProjLat+20*sin(deg2rad(90-$waypoint['laisser_au'])),  
    814814                             $waypoint['laisser_au'], $this->colorWaypointsIndication); 
    815815          } else if ($waypoint['wpformat'] & WP_CROSS_ANTI_CLOCKWISE) { 
    816             $this->drawArrow($this->mapImage, $wp1ProjLong+20*cos(deg2rad(90-$waypoint['laisser_au'])),  
     816            $this->drawArrow($this->mapImage, $wp1ProjLong-20*cos(deg2rad(90-$waypoint['laisser_au'])),  
    817817                             $wp1ProjLat+20*sin(deg2rad(90-$waypoint['laisser_au'])),  
    818818                             $waypoint['laisser_au']+180, $this->colorWaypointsIndication);