-
Notifications
You must be signed in to change notification settings - Fork 475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calling C# OpenLocationCode.Encode with length 2 fails 'Illegal code length 2' #360
Comments
NB: I edited your comment to improve the code formatting. |
We don't maintain the C# code in this repository, could you please open an issue here? |
re-raised as requested at [https://github.com/JonMcPherson/open-location-code/issues/10] |
JonMcPherson/open-location-code#11 (comment)
|
Calling C# OpenLocationCode.Encode with length 2 fails with 'System.ArgumentException: Illegal code length 2.'.
I am using NuGet package OpenLocationCode by Jon McPherson, v2.1.0
This is for both GeoPoint and lat/long.
A length of 2 is valid (https://github.com/google/open-location-code/blob/master/docs/specification.md), giving a 'box' 20 degrees across.
My test code is
(I don't like your 'insert code' formatting)
The text was updated successfully, but these errors were encountered: