mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
Merge pull request #652 from meshtastic/map
Map related persistent MUI data
This commit is contained in:
commit
47ff85bb9c
2 changed files with 41 additions and 0 deletions
|
|
@ -6,3 +6,5 @@
|
|||
*NodeFilter.hops_away int_size:8
|
||||
*NodeFilter.channel int_size:8
|
||||
*NodeHighlight.node_name max_size:16
|
||||
*GeoPoint.zoom int_size:8
|
||||
*Map.style max_size:20
|
||||
|
|
|
|||
|
|
@ -66,6 +66,11 @@ message DeviceUIConfig {
|
|||
* 8 integers for screen calibration data
|
||||
*/
|
||||
bytes calibration_data = 14;
|
||||
|
||||
/*
|
||||
* Map related data
|
||||
*/
|
||||
Map map_data = 15;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -135,6 +140,40 @@ message NodeHighlight {
|
|||
|
||||
}
|
||||
|
||||
message GeoPoint {
|
||||
/*
|
||||
* Zoom level
|
||||
*/
|
||||
int32 zoom = 1;
|
||||
|
||||
/*
|
||||
* Coordinate: latitude
|
||||
*/
|
||||
int32 latitude = 2;
|
||||
|
||||
/*
|
||||
* Coordinate: longitude
|
||||
*/
|
||||
int32 longitude = 3;
|
||||
}
|
||||
|
||||
message Map {
|
||||
/*
|
||||
* Home coordinates
|
||||
*/
|
||||
GeoPoint home = 1;
|
||||
|
||||
/*
|
||||
* Map tile style
|
||||
*/
|
||||
string style = 2;
|
||||
|
||||
/*
|
||||
* Map scroll follows GPS
|
||||
*/
|
||||
bool follow_gps = 3;
|
||||
}
|
||||
|
||||
enum Theme {
|
||||
/*
|
||||
* Dark
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue