Class: Utm_Mgrs

mgrs~Utm_Mgrs

Extends Utm with method to convert UTM coordinate to MGRS reference.

Constructor

new Utm_Mgrs()

Source:

Methods

toMgrs() → {Mgrs}

Converts UTM coordinate to MGRS reference.
Source:
Throws:
Invalid coordinate
Type
Error
Returns:
Type
Mgrs
Example
var utmCoord = new Utm(31, 'N', 448251, 5411932);
  var mgrsRef = utmCoord.toMgrs(); // 31U DQ 48251 11932