Extends
- Utm
Methods
toMgrs() → {Mgrs}
Converts UTM coordinate to MGRS reference.
Throws:
-
Invalid UTM coordinate.
- Type
- TypeError
Returns:
- Type
- Mgrs
Example
const utmCoord = new Utm(31, 'N', 448251, 5411932);
const mgrsRef = utmCoord.toMgrs(); // 31U DQ 48251 11932