package
0.2.0
Repository: https://github.com/mmadfox/go-gpsgen.git
Documentation: pkg.go.dev

# Functions

New creates a new instance of Navigator with the provided options.
NewRoute creates a new Route instance with default values.
NewTrack creates a new Track instance from a list of geographical points.
ParseName parses the given string and returns a Name instance.
RestoreRoute restores a Route instance with the given parameters.
RestoreTrack restores a track from a snapshot.
RouteFromTracks creates a new Route instance from a list of tracks.
SegmentFromSnapshot restores a segment from a snapshot.
SkipOfflineMode skips offline mode in the navigator.
TrackFromSnapshot restores a track from a snapshot.
WithElevation sets the elevation options for the navigator.
WithOffline sets the offline time options for the navigator.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

ErrInvalidRoutePath indicates that a route has an invalid or too short path.
ErrNoRoutes indicates that no routes are available.
ErrRouteNotFound indicates that a specified route was not found.
ErrTrackNotFound indicates that a specified track was not found.

# Structs

Name represents a name used in the navigator.
Navigator manages navigation operations and state.
Route represents a route containing tracks and associated properties.
Segment represents a segment between two geographical points in a track.
Track represents a track composed of segments.

# Type aliases

Option is a function type that modifies navigatorOptions.
RouteSnapshot is a serialized snapshot of a Route.
SegmentSnapshot is a serialized snapshot of a Segment.
TrackSnapshot is a serialized snapshot of a Track.