mgrs-ios 1.1.6 Documentation

Structure MGRSConstants

public struct MGRSConstants  
  • Military Grid Reference System Constants

Properties

MIN_LON

public static let MIN_LON = GridConstants.MIN_LON
  • Minimum longitude

MAX_LON

public static let MAX_LON = GridConstants.MAX_LON
  • Maximum longitude

MIN_LAT

public static let MIN_LAT = -80.0
  • Minimum latitude

MAX_LAT

public static let MAX_LAT = 84.0
  • Maximum latitude

MIN_ZONE_NUMBER

public static let MIN_ZONE_NUMBER = 1
  • Minimum grid zone number

MAX_ZONE_NUMBER

public static let MAX_ZONE_NUMBER = 60
  • Maximum grid zone number

ZONE_WIDTH

public static let ZONE_WIDTH = 6.0
  • Grid zone width

MIN_BAND_LETTER

public static let MIN_BAND_LETTER: Character = "C"
  • Minimum grid band letter

MAX_BAND_LETTER

public static let MAX_BAND_LETTER: Character = "X"
  • Maximum grid band letter

NUM_BANDS

public static let NUM_BANDS = 20
  • Number of bands

BAND_HEIGHT

public static let BAND_HEIGHT = 8.0
  • Grid band height for all by but the MAX_BAND_LETTER

MAX_BAND_HEIGHT

public static let MAX_BAND_HEIGHT = 12.0
  • Grid band height for the MAX_BAND_LETTER

BAND_LETTER_SOUTH

public static let BAND_LETTER_SOUTH: Character = "M"
  • Last southern hemisphere band letter

BAND_LETTER_NORTH

public static let BAND_LETTER_NORTH: Character = "N"
  • First northern hemisphere band letter

MIN_SVALBARD_ZONE_NUMBER

public static let MIN_SVALBARD_ZONE_NUMBER = 31
  • Min zone number in Svalbard grid zones

MAX_SVALBARD_ZONE_NUMBER

public static let MAX_SVALBARD_ZONE_NUMBER = 37
  • Max zone number in Svalbard grid zones

SVALBARD_BAND_LETTER

public static let SVALBARD_BAND_LETTER = MAX_BAND_LETTER
  • Band letter in Svalbard grid zones

MIN_NORWAY_ZONE_NUMBER

public static let MIN_NORWAY_ZONE_NUMBER = 31
  • Min zone number in Norway grid zones

MAX_NORWAY_ZONE_NUMBER

public static let MAX_NORWAY_ZONE_NUMBER = 32
  • Max zone number in Norway grid zones

NORWAY_BAND_LETTER

public static let NORWAY_BAND_LETTER: Character = "V"
  • Band letter in Norway grid zones

ZOOM_OFFSET

public static let ZOOM_OFFSET = -1
  • Grid zoom display offset from XYZ tile zoom levels