8.0.0 • Published 10 months ago
@basemaps/attribution v8.0.0
@basemaps/attribution
Library to determine to applicable attribution for a given extent and zoom level.
Usage
npm install @basemaps/attributionimport { 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.
8.0.0
10 months ago
7.16.0
11 months ago
7.15.0
12 months ago
7.12.0
1 year ago
7.11.0
1 year ago
7.10.0
1 year ago
7.4.0
2 years ago
7.5.0
2 years ago
7.1.0
2 years ago
7.0.0
2 years ago
6.43.0
3 years ago
6.44.0
3 years ago
6.41.0
3 years ago
6.40.0
3 years ago
6.37.0
3 years ago
6.32.1
4 years ago
6.31.0
4 years ago
6.28.0
4 years ago
6.28.1
4 years ago
6.26.0
4 years ago
6.25.0
4 years ago
6.22.0
4 years ago
6.21.1
4 years ago
6.24.2
4 years ago
6.17.0
4 years ago
6.10.0
4 years ago
6.9.1
5 years ago
6.8.0
5 years ago
6.0.0
5 years ago
5.1.0
5 years ago
5.0.0
5 years ago
4.24.0
5 years ago
4.23.0
5 years ago
4.22.0
5 years ago
4.20.0
5 years ago
4.19.0
5 years ago
4.18.0
5 years ago
4.17.0
5 years ago