Track Editor: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(→) |
||
Line 48: | Line 48: | ||
== Track service engine == | == Track service engine == | ||
Track service interaction. | |||
Available functions: | |||
; Connection | |||
:; ConnectToTrackService | |||
:: Connect to specified track service. | |||
:; Disconnect | |||
:: Disconnect from service | |||
:; IsConnected | |||
:: Get current connection status. | |||
; Track lists | |||
:; GetTrackLists | |||
:: Retreive available tracklists from track service. | |||
:; AddTrackList | |||
:: Create a new track list. | |||
:; RemoveTrackList | |||
:: Remove track list, and all track info, if any. | |||
== Track editor == | == Track editor == |
Revision as of 12:05, 17 October 2019
This section describes how to create a WPF application interacting with a Maria Track Service, without using MariaUserControl and track layer.
General
This page is under construction!
- Note
-
- For this part you will need to include the TPG.Maria.TrackLayer package as a minimum.
- You also need to have a Track Service available.
- Sample code for this section is the MariaTrackEditor project, in the Sample Projects solution.
Track service information
Track Lists
The track information is organised in track lists, identified by track list name.
Tracks
A Maria track has the following properties:
- Current position (lat/lon)
- Position history
- Course
- Speed
- Time of last observation
- Named custom fields
For further information, see Category:Tracks
Track history
History settings
History options are specified separately for each track list.
For further information, see Track history setting.
Historic info.
Previous positions with timestamp. For further details, see Track history
Track service engine
Track service interaction.
Available functions:
- Connection
-
- ConnectToTrackService
- Connect to specified track service.
- Disconnect
- Disconnect from service
- IsConnected
- Get current connection status.
- Track lists
-
- GetTrackLists
- Retreive available tracklists from track service.
- AddTrackList
- Create a new track list.
- RemoveTrackList
- Remove track list, and all track info, if any.