Changeset 1785
- Timestamp:
- 09/06/10 12:23:39 (17 months ago)
- Files:
-
- 1 modified
-
trunk/site/map.class.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/site/map.class.php
r1744 r1785 137 137 $this->colorWaypoints = ImageColorAllocate($this->mapImage, 230, 80, 0); 138 138 $this->colorWaypointsArea = ImageColorAllocate($this->mapImage, 230, 120, 40); 139 $this->colorWaypointsIceGate = ImageColorAllocate($this->mapImage, 0, 51, 204); 139 140 $this->colorBuoy = ImageColorAllocate($this->mapImage, 250, 150, 150); 140 141 $this->colorWind = ImageColorAllocate($this->mapImage, 110, 130, 150); … … 732 733 IMG_COLOR_STYLED); 733 734 } else { 735 // NOTE: icegates are only of kind 'WP_TWO_BUOYS' 736 $wpcolor = (($waypoint['wpformat'] & (WP_ICE_GATE_N|WP_ICE_GATE_S)) ? $this->colorWaypointsIceGate : $this->colorWaypoints); 734 737 imageline ( $this->mapImage, 735 738 $wp1ProjLong, $wp1ProjLat, 736 739 $wp2ProjLong, $wp2ProjLat, 737 $ this->colorWaypoints);740 $wpcolor); 738 741 } 739 742 } else {
