Military Grid Reference System utilities

Hierarchy

  • MGRSUtils

Constructors

Methods

  • Get the hemisphere from the band letter

    Returns

    hemisphere

    Parameters

    • bandLetter: string

      band letter

    Returns Hemisphere

  • Get the label name

    Returns

    name

    Parameters

    • zoneNumber: number

      zone number

    • bandLetter: string

      band letter

    Returns string

  • Get the next band letter

    Returns

    next band letter, 'Y' (MGRSConstants#MAX_BAND_LETTER + 1) if no next bands

    Parameters

    • letter: string

      band letter

    Returns string

  • Get the previous band letter

    Returns

    previous band letter, 'B' (MGRSConstants#MIN_BAND_LETTER - 1) if no previous bands

    Parameters

    • letter: string

      band letter

    Returns string

  • Validate the band letter

    Parameters

    • letter: string

      band letter

    Returns void

  • Validate the zone number

    Parameters

    • zoneNumber: number

      zone number

    Returns void

Generated using TypeDoc