Closed kpym closed 4 years ago
Thanks for bringing this up @kpym. You're right that the second normalization check is unnecessary, since lng will never equal lngMax after the first normalizeLongitude() call.
Feel free to send a PR if you'd like :). Otherwise, I can fix it later.
In encode.go it looks like the longitude is normalized twice :
Is this normal ?