The picture to the right shows an example of a GPS track. Note that the arrows point in the direction of travel. This track was plotted with the following spreadsheet values:
A | B | C | D | E | F | |
1 | Latitude | Longitude | Icon | IconHeading | IconColor | LineColor |
2 | 43.6097 | -116.2048 | 196 | line -180 | yellow | aqua |
3 | 43.6095 | -116.2047 | 196 | line -180 | yellow | aqua |
4 | 43.6094 | -116.2046 | 196 | line -180 | yellow | aqua |
5 | 43.6094 | -116.2044 | 196 | line -180 | yellow | aqua |
6 | 43.6094 | -116.2042 | 196 | line -180 | yellow | aqua |
7 | 43.6095 | -116.2041 | 196 | line -180 | yellow | aqua |
8 | 43.6096 | -116.2043 | 196 | line -180 | yellow | aqua |
9 | 43.6097 | -116.2046 | 196 | line -180 | yellow | aqua |
This spreadsheet is included in the sample data.
The column IconHeading specifies how many degrees to rotate the icon. IconHeading can be a number, the word "line", or the word "line" plus or minus a number.
If the word "line" is entered into the IconHeading column, the airplane is rotated to point in the direction of travel. That is, the airplane looks like it is flying along the line.
If the value "line-180" is entered into the IconHeading column, the airplane is lined up with the direction of travel, then spun around 180 degrees. The airplane looks like it is flying backwards.
This combination of IconHeading and IconColor gives us the GPS track illustrated at the beginning of this article.