Files
trail-mate/modules/ui_map_runtime/src/map_overlay_snapshot_source.cpp
T
vicliu bf7068b02b 0.1.26-alpha release
* refactor: render chat rows from presentation state

* Fix Meshtastic channel sync and add MeshCore CN preset

* Add granular chat notification settings

* Add SD settings backup and restore

* Prepare 0.1.26-alpha release

---------

Co-authored-by: vicliu624 <vicliu@outlook.com>
2026-05-19 16:04:42 +08:00

23 lines
494 B
C++

#include "ui_map_runtime/map_overlay_snapshot_source.h"
namespace ui
{
namespace map_overlay
{
MapOverlaySnapshotSource::MapOverlaySnapshotSource(IMapOverlayGpsSource* gps,
IMapOverlayTeamSource* team)
: gps_(gps),
team_(team)
{
}
bool MapOverlaySnapshotSource::buildMapOverlaySnapshot(
::ui::map::MapOverlaySnapshot& out) const
{
return adapter_.project(gps_, team_, out);
}
} // namespace map_overlay
} // namespace ui