formatcoords icon indicating copy to clipboard operation
formatcoords copied to clipboard

Bugfix: accept {lat,lng} with a coordinate value equal 0

Open plepe opened this issue 6 years ago • 0 comments

I found a bug! If you provide coordinates as object and either lat or lng are 0, I will get 'NaN' as result. This pull request fixes this behavior and also provides a test.

plepe avatar Feb 07 '20 21:02 plepe