File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ isShort:
27
27
boolean indicating whether the string is a valid short Open Location Code
28
28
or not.
29
29
30
- A short Open Location Code is a sequence created by removing a even number
30
+ A short Open Location Code is a sequence created by removing an even number
31
31
of characters from a full Open Location Code. The resulting code must still
32
32
include the separator character.
33
33
@@ -36,8 +36,8 @@ isFull:
36
36
37
37
Not all possible combinations of Open Location Code characters decode to
38
38
valid latitude and longitude values. This checks that a code is valid and
39
- also that the latitude and longitude values are legal. If the separator
40
- character is present, it must be after four characters.
39
+ also that the latitude and longitude values are legal. Full codes must
40
+ include the separator character and it must be after eight characters.
41
41
42
42
encode:
43
43
Encode a location into an Open Location Code. This takes a latitude and
You can’t perform that action at this time.
0 commit comments