Added Plus Codes and OS Grid Reference

Added GPS coordinate format options for Google's Open Location Codes and the United Kingdom's Ordnance Survey Grid Reference System.
pull/24/head
srichs 2021-09-03 23:15:20 -06:00 zatwierdzone przez GitHub
rodzic d459cd5af1
commit 109b571377
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 11 dodań i 1 usunięć

Wyświetl plik

@ -143,7 +143,17 @@ enum GpsCoordinateFormat {
*/
GpsFormatMGRS = 3;
// GpsFormatOLC = 4; // Plus Codes, maybe one day?
/*
* GPS coordinates are displayed in Open Location Code (aka Plus Codes).
*/
GpsFormatOLC = 4;
/*
* GPS coordinates are displayed in Ordnance Survey Grid Reference (the National Grid System of the UK).
* Format: AB EEEEE NNNNN, where A is the east 100k square, B is the north 100k square, E is the easting,
* N is the northing
*/
GpsFormatOSGR = 5;
}
/*