mgrs

WebJar for mgrs

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

mgrs
Последняя версия

Последняя версия

1.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

mgrs
WebJar for mgrs
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/proj4js/mgrs

Скачать mgrs

Имя Файла Размер
mgrs-1.0.0.pom
mgrs-1.0.0.jar 20 KB
mgrs-1.0.0-sources.jar 22 bytes
mgrs-1.0.0-javadoc.jar 22 bytes
Обзор

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/mgrs/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>mgrs</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/mgrs/
implementation 'org.webjars.npm:mgrs:1.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/mgrs/
implementation ("org.webjars.npm:mgrs:1.0.0")
'org.webjars.npm:mgrs:jar:1.0.0'
<dependency org="org.webjars.npm" name="mgrs" rev="1.0.0">
  <artifact name="mgrs" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='mgrs', version='1.0.0')
)
libraryDependencies += "org.webjars.npm" % "mgrs" % "1.0.0"
[org.webjars.npm/mgrs "1.0.0"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

mgrs

Utility for converting between WGS84 lat/lng and MGRS coordinates, spunoff from proj4js

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]'

install dev dependencies with

npm install

test with

npm test

build with

npm run build

Licensed under the MIT license except:

Portions of this software are based on a port of components from the OpenMap com.bbn.openmap.proj.coords Java package. An initial port was initially created by Patrice G. Cappelaere and included in Community Mapbuilder (http://svn.codehaus.org/mapbuilder/), which is licensed under the LGPL license as per http://www.gnu.org/copyleft/lesser.html. OpenMap is licensed under the following license agreement:

Версии библиотеки

Версия
1.0.0
0.0.3
0.0.2