MCPcopy Create free account
hub / github.com/OpenOrienteering/mapper / appendWaypoint

Method appendWaypoint

src/core/track.cpp:225–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223}
224
225void Track::appendWaypoint(const TrackPoint& point, const QString& name)
226{
227 waypoints.push_back(point);
228 waypoints.back().map_coord = map_georef.toMapCoordF(point.latlon, nullptr); // TODO: check for errors
229 waypoint_names.push_back(name);
230}
231
232void Track::changeMapGeoreferencing(const Georeferencing& new_map_georef)
233{

Callers 1

gpxTestMethod · 0.80

Calls 2

backMethod · 0.80
toMapCoordFMethod · 0.80

Tested by

no test coverage detected