Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ OnLocationUpdated
Method
OnLocationUpdated
libs/map/gps_tracker.cpp:104–109 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
102
}
103
104
void GpsTracker::OnLocationUpdated(location::GpsInfo const & info)
105
{
106
if (!m_enabled)
107
return;
108
m_track.AddPoint(info);
109
}
110
111
void GpsTracker::ForEachTrackPoint(GpsTrackCallback const & callback) const
112
{
Callers
nothing calls this directly
Calls
1
AddPoint
Method · 0.45
Tested by
no test coverage detected