Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CameraBuilder ¶
func (*CameraBuilder) Build ¶
func (ctb *CameraBuilder) Build(positions []aeroapi.Position) (*KmlProduct, error)
func (*CameraBuilder) Name ¶
func (ctb *CameraBuilder) Name() string
type KmlProduct ¶
KmlProduct contains the top-level KML model element and the assets it references
type KmlTrackBuilder ¶
type KmlTrackBuilder interface { Name() string Build(positions []aeroapi.Position) (*KmlProduct, error) }
KmlTrackBuilder can build a KmlProduct from a list of (location) coordinates
type PathBuilder ¶
PathBuilder builds the visible "path" track, and optionally its extrusion to the ground
func (*PathBuilder) Build ¶
func (pb *PathBuilder) Build(aeroTrackPositions []aeroapi.Position) (*KmlProduct, error)
func (*PathBuilder) Name ¶
func (pb *PathBuilder) Name() string
type PlacemarkBuilder ¶
type PlacemarkBuilder struct{}
func (*PlacemarkBuilder) Build ¶
func (*PlacemarkBuilder) Build(aeroTrackPositions []aeroapi.Position) (*KmlProduct, error)
func (*PlacemarkBuilder) Name ¶
func (*PlacemarkBuilder) Name() string
type VectorBuilder ¶
type VectorBuilder struct{}
VectorBuilder - builds a KML folder of Placemarks revealing significant details of the track coordinates received from AeroAPI, including:
=> Location - Placemark's location => Altitude - Placemark's altitude => Heading - direction of an arrow representing the Placemark => Groundspeed - reflected by magnitude / size of the arrow
Additional sets of Placemarks are used to reveal secondary information calculated from the track data (e.g., "imputed" values).
func (*VectorBuilder) Build ¶
func (vb *VectorBuilder) Build(aeroTrackPositions []aeroapi.Position) (*KmlProduct, error)
func (*VectorBuilder) Name ¶
func (vb *VectorBuilder) Name() string