You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mapcodelib/mapcoder.h
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -19,10 +19,10 @@
19
19
#defineSUPPORT_FOREIGN_ALPHABETS
20
20
21
21
#defineMAX_NR_OF_MAPCODE_RESULTS 21 // Max. number of results ever returned by encoder (e.g. for 26.904899, 95.138515).
22
-
#defineMAX_PROPER_MAPCODE_LEN 10 // Max. number of characters in a proper mapcode (including the dot)
23
-
#defineMAX_PRECISION_DIGITS 8 // Max. number of extension characters (excluding the hyphen)
24
-
#defineMAX_ISOCODE_LEN 7 // Max. number of characters of a valid territory code; although nothing longer than SIX characters is ever generated (RU-KAM), users can input SEVEN characters (RUS-KAM)
25
-
#defineMAX_CLEAN_MAPCODE_LEN (MAX_PROPER_MAPCODE_LEN + 1 + MAX_PRECISION_DIGITS) // Max. number of characters in a clean mapcode (excluding zero-terminator)
22
+
#defineMAX_PROPER_MAPCODE_LEN 10 // Max. number of characters in a proper mapcode (including the dot).
23
+
#defineMAX_PRECISION_DIGITS 8 // Max. number of extension characters (excluding the hyphen).
24
+
#defineMAX_ISOCODE_LEN 7 // Max. number of characters of a valid territory code; although nothing longer than SIX characters is ever generated (RU-KAM), users can input SEVEN characters (RUS-KAM).
25
+
#defineMAX_CLEAN_MAPCODE_LEN (MAX_PROPER_MAPCODE_LEN + 1 + MAX_PRECISION_DIGITS) // Max. number of characters in a clean mapcode (excluding zero-terminator).
26
26
#defineMAX_MAPCODE_RESULT_LEN (MAX_ISOCODE_LEN + 1 + MAX_CLEAN_MAPCODE_LEN + 1) // Max. number of characters to store a single result (including zero-terminator).
27
27
#defineCOMPARE_MAPCODE_MISSING_CHARACTERS -999 // Used for compareWithMapcodeFormat.
0 commit comments