earth-topojson

WebJar for earth-topojson

Лицензия

Лицензия

MIT
Категории

Категории

JSON Данные
Группа

Группа

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

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

earth-topojson
Последняя версия

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

1.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

earth-topojson
WebJar for earth-topojson
Ссылка на сайт

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

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

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

https://github.com/hughsk/earth-topojson

Скачать earth-topojson

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

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

Зависимости

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

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

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

earth-topojson stable

TopoJSON files of the Earth sourced from Natural Earth.

Usage

NPM

Load the TopoJSON files using the following:

var highRes = require('earth-topojson/10m.json')
var normRes = require('earth-topojson/50m.json')
var lowRes = require('earth-topojson/110m.json')
var lowRes = require('earth-topojson')

You can then use the topojson package on npm to convert those files into GeoJSON:

var world = require('earth-topojson')
var topojson = require('topojson')

var countries = topojson.feature(world, world.objects.countries)

See Also

License

MIT. See LICENSE.md for details.

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

Версия
1.0.0