@mapbox/geojson-types

WebJar for @mapbox/geojson-types

License

License

ISC
Categories

Categories

Geo Business Logic Libraries Geospatial JSON Data
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

mapbox__geojson-types
Last Version

Last Version

1.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

@mapbox/geojson-types
WebJar for @mapbox/geojson-types
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/mapbox/geojson-types.git

Download mapbox__geojson-types

How to add to project

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

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

geojson-types

Flow type declarations for GeoJSON.

Install

npm install @mapbox/geojson-types

Use

// @flow

import type {
    GeoJSONFeatureCollection,
    GeoJSONFeature,

    // specific geometries
    GeoJSONPoint,
    GeoJSONLineString,
    GeoJSONPolygon,
    GeoJSONMultiPoint,
    GeoJSONMultiLineString,
    GeoJSONMultiPolygon,

    // any geometry
    GeoJSONGeometry,

    // any feature collection, feature, or geometry
    GeoJSON,
} from '@mapbox/geojson-types';

function doSomething(data: GeoJSON) {
    // ...
}
org.webjars.npm

Mapbox

Mapbox is the location data platform for mobile and web applications. We're changing the way people move around cities and explore our world.

Versions

Version
1.0.2