Merge pull request #24 from srichs/gps-format

Added Plus Codes and OS Grid Reference
This commit is contained in:
Kevin Hester 2021-09-04 17:38:06 -07:00 committed by GitHub
commit 7b005e24a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}
/*