10
edits
No edit summary |
|||
Line 46: | Line 46: | ||
;nearest | ;nearest | ||
: load the nearest waypoint (of a type) into the scratch. The following parameters are supported: | : load the nearest waypoint (of a type) into the scratch. The following parameters are supported: | ||
: | : <tt>max-results</tt> - maximum number of nearby waypoints to load. Default is 1, larger values are supported, but there may be noticeable delays if this is set to 100 or similar - testing is needed in this area. | ||
: <tt>type</tt> - a type string. 'any', 'all' or an empty value mean all types | |||
: | |||
;search | ;search | ||
: load waypoints by matching ident. The following parameters are supported: | : load waypoints by matching ident. The following parameters are supported: | ||
: | : <tt>type</tt> - as for 'nearest' | ||
: <tt>query</tt> - the string to search on | |||
: | : <tt>order-by-range</tt> - a flag indicating if matches should be returned sorted by distance (the default) or alphabetically | ||
: <tt>exact</tt> - a flag indicated if matches must be exact (true) or partial (false). | |||
: | |||
: | |||
;search-name | ;search-name | ||
Line 79: | Line 73: | ||
;route-insert-before | ;route-insert-before | ||
: insert the current scratch data into the route, ''before'' the waypoint at the supplied index. | : insert the current scratch data into the route, ''before'' the waypoint at the supplied index. | ||
: | : <tt>index</tt> - the route index to insert before. If this is negative, the waypoint will be appended to the route. | ||
;route-insert-after | ;route-insert-after | ||
: insert the current scratch data into the route, ''after'' the waypoint at the supplied index. | : insert the current scratch data into the route, ''after'' the waypoint at the supplied index. | ||
: | : <tt>index</tt> - the route index to after before. If this is negative, the waypoint will be appended to the route. | ||
;route-delete | ;route-delete | ||
: delete the route waypoint at the specified index | : delete the route waypoint at the specified index | ||
: | : <tt>index</tt> - the route index to delete | ||
== Configuration == | == Configuration == |
edits