mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-07 14:12:31 -04:00
parent
e6ad5efbb7
commit
6ae164e59b
2 changed files with 26 additions and 0 deletions
|
@ -179,6 +179,7 @@ class GeoMap : public Widget {
|
|||
MapMarkerStored store_marker(GeoMarker& marker);
|
||||
|
||||
private:
|
||||
void draw_scale(Painter& painter);
|
||||
void draw_bearing(const Point origin, const uint16_t angle, uint32_t size, const Color color);
|
||||
void draw_marker(Painter& painter, const ui::Point itemPoint, const uint16_t itemAngle, const std::string itemTag, const Color color = Color::red(), const Color fontColor = Color::white(), const Color backColor = Color::black());
|
||||
void draw_markers(Painter& painter);
|
||||
|
@ -199,6 +200,7 @@ class GeoMap : public Widget {
|
|||
int32_t prev_x_pos{0xFFFF}, prev_y_pos{0xFFFF};
|
||||
float lat_{};
|
||||
float lon_{};
|
||||
float pixels_per_km{};
|
||||
uint16_t angle_{};
|
||||
std::string tag_{};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue