29
edits
Red Leader (talk | contribs) (Update {{func link}} form) |
(There was an error in fp.insertWP. Added how to insert a waypoint at a defined place into the plan.) |
||
Line 65: | Line 65: | ||
var wp = createWP(pos.lat(), pos.lon(), "EPICA"); | var wp = createWP(pos.lat(), pos.lon(), "EPICA"); | ||
# manually insert a waypoint | # manually insert a waypoint at the end of the plan | ||
fp.insertWP(fp.getPlanSize(), | fp.insertWP(wp, fp.getPlanSize()); | ||
# manually insert a waypoint at a defined position (n) into the plan | |||
fp.insertWP(wp, n); | |||
# route along airways, and insert a whole bunch of waypoints | # route along airways, and insert a whole bunch of waypoints |
edits