3.3.0 • Published 10 months ago

bbox-helper-functions v3.3.0

Weekly downloads
60
License
MIT
Repository
github
Last release
10 months ago

bbox-helper-functions

Installation

Using npm npm i bbox-helper-functions

Using yarn yarn add bbox-helper-functions

Usage

In CommonJS env

const { getWKBBox } = require('bbox-helper-functions');

const bbox = getWKBBox(
  'POLYGON((-3.706512451171875 40.420074462890625,-3.70513916015625 40.420074462890625,-3.70513916015625 40.42144775390625,-3.706512451171875 40.42144775390625,-3.706512451171875 40.420074462890625))'
);

// bbox will be [minLon, minLat, maxLon, maxLat]

Using imports

import { getGeohashBBox } from 'bbox-helper-functions';

const geohashBBox = getGeohashBBox('ezjmun');

// geohashBBox will be [minLon, minLat, maxLon, maxLat]

Documentation

See DOCS

3.3.0

10 months ago

3.2.2

2 years ago

3.2.1

2 years ago

3.2.0

2 years ago

3.1.0

2 years ago

3.2.4

2 years ago

3.2.3

2 years ago

3.0.2

2 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.4.1

3 years ago

2.4.0

3 years ago

2.3.2

3 years ago

2.3.0

3 years ago

2.3.1

3 years ago

2.2.0

3 years ago

2.1.0

3 years ago

2.0.0

3 years ago

1.1.1

3 years ago

1.1.0

4 years ago

1.0.0

4 years ago