Nectar of the Programming Masses

    @basemaps/attribution
    TypeScript icon, indicating that this package has built-in type declarations

    6.17.0 • Public • Published

    @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 attributions.load(attrURL);
    
    const attrList = attributions.filter([19455725.1, -5053732.8, 19456330.7, -5053278.8], 17)));
    const description = attributions.renderList(attrList);

    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.

    Keywords

    none

    Install

    npm i @basemaps/attribution

    DownloadsWeekly Downloads

    38

    Version

    6.17.0

    License

    MIT

    Unpacked Size

    108 kB

    Total Files

    17

    Last publish

    Collaborators

    • blacha
    • linzds