7.11.0 • Published 9 months ago

@basemaps/attribution v7.11.0

Weekly downloads
6
License
MIT
Repository
github
Last release
9 months ago

@basemaps/attribution

Library to determine to applicable attribution for a given extent and zoom level.

Usage

npm install @basemaps/attribution
import { Attribution } from '@basemaps/attribution';

const attributions = await Attribution.load('https://basemaps.linz.govt.nz/v1/tiles/aerial/EPSG:3857/attribution.json?api=...');

// Find all imagery sets inside the following bounding box
const attrList = attributions.filter([144.7377202, -45.8938181, 195.62639, -37.65336], 6);

// Convert the attrubtion list to a human readable description
const description = attributions.renderList(attrList);
// "NZ 10m Satellite Imagery (2020-2021) & GEBCO 2020 Grid"

Using a CDN see https://basemaps.linz.govt.nz/examples/index.openlayers.attribution.wmts.3857.html.

License

This system is licensed under the MIT License, except where otherwise specified. See the LICENSE file for more details.

7.11.0

9 months ago

7.10.0

9 months ago

7.4.0

1 year ago

7.5.0

12 months ago

7.1.0

1 year ago

7.0.0

2 years ago

6.43.0

2 years ago

6.44.0

2 years ago

6.41.0

2 years ago

6.40.0

2 years ago

6.37.0

3 years ago

6.32.1

3 years ago

6.31.0

3 years ago

6.28.0

3 years ago

6.28.1

3 years ago

6.26.0

3 years ago

6.25.0

3 years ago

6.22.0

3 years ago

6.21.1

3 years ago

6.24.2

3 years ago

6.17.0

4 years ago

6.10.0

4 years ago

6.9.1

4 years ago

6.8.0

4 years ago

6.0.0

4 years ago

5.1.0

4 years ago

5.0.0

4 years ago

4.24.0

4 years ago

4.23.0

4 years ago

4.22.0

4 years ago

4.20.0

4 years ago

4.19.0

5 years ago

4.18.0

5 years ago

4.17.0

5 years ago