[ buster ]
[ ソース: mgrs ]
パッケージ: libjs-mgrs (0.0.3-3)
Javascript for converting between WGS84 lat/lng and MGRS coordinates
mgrs is a utility for converting between WGS84 lat/lng and MGRS coordinates, spunoff from proj4js.
It has 3 methods:
* forward, takes an array of [lon,lat] and optional accuracy and returns an mgrs string * inverse, takes an mgrs string and returns a bbox * toPoint, takes an mgrs string, returns an array of '[lon,lat]'
This package contains the mgrs.js javascript file.