When we call inverse on these two MGRS id - 36NYF and 36NXF we get a bbox filled with undefined rather than accurate value.
Example:
Below it works for 36MXE but fails for 36NYF and 36NXF
> mgrs_inverse = require("mgrs").inverse;
[Function: inverse]
> mgrs_inverse('36MXE') // Works
[
33.89874893707548,
-0.9046185787600894,
33.89874893707548,
-0.9046185787600894
]
> mgrs_inverse('36NXF')
[ undefined, undefined, undefined, undefined ]
> mgrs_inverse('36NYF')
[ undefined, undefined, undefined, undefined ]
Please let me know if there is a way we can fix this or where this may be happening.
Currently using version 1.0.0
Thanks!