Closed DanielJDufour closed 5 years ago
mgrs.toPoint('4QFJ 12345 67890') is returning [ -158.02687377206473, 20.85845798336758 ]
mgrs.toPoint('4QFJ 12345 67890')
[ -158.02687377206473, 20.85845798336758 ]
where as
mgrs.toPoint('4QFJ1234567890') is returning [ -157.91607631748826, 21.409801157393012 ]
mgrs.toPoint('4QFJ1234567890')
[ -157.91607631748826, 21.409801157393012 ]
Technically, MGRS isn't supposed to includes spaces, but we may want to handle for that use case because it's so common place.
Fixed with https://github.com/proj4js/mgrs/pull/45
mgrs.toPoint('4QFJ 12345 67890')
is returning[ -158.02687377206473, 20.85845798336758 ]
where as
mgrs.toPoint('4QFJ1234567890')
is returning[ -157.91607631748826, 21.409801157393012 ]
Technically, MGRS isn't supposed to includes spaces, but we may want to handle for that use case because it's so common place.