Closed RichardPilbery closed 3 years ago
Awesome! Thanks for the help! Have you verified that positive lat/long values are unaffected? (Sorry for the lack of testing)
Yes I have. There are no code changes with respect to latitude and the bitwise operation is only applied for latitudfe values < 0.
Good catch! Thanks for your help!
This is a bit janky, but I'm not that comfortable with bitwise operations in javascript. Basically, it looks like the left-most bit indicates whether a value is negative or not, but if this is not reset to 0, then the incorrect latitude will be calculcated. Hopefuly fixes #1