Two things pulled in from github.com/nationalparkservice/npmap5-plugins: - A "Home" button (public/vendor/npmap-home-button/, NPS's own MapLibre control) pinned to the app's CENTER/ZOOM, sitting top-left on the map. Now that the URL hash permalink can open the map at any view, "current view" and "the default view" aren't the same thing anymore, so a quick way back to the default is worth having. - npmap5-plugins bundles a newer, actively-maintained version of the same NPS symbol-library already used for POI_ICONS (confirmed by its maintainer to be the designated replacement for the older standalone repo: nationalparkservice/npmap5-plugins#4), with a much larger icon vocabulary and a simpler CC0 (public domain) license. All 25 icons already in use came back byte-identical from the new source, so this just repoints their attribution — but it also has icons the old repo didn't: `forest` (POI_ICONS) is now the official "wilderness" pictogram instead of hand-drawn, and three of the five previously icon-less Services/Activities tags (wifi, mobile data coverage, winter/snow camping) now have real icons too. Only bakery and vehicle wash still have no NPS equivalent.
63 lines
1.7 KiB
Plaintext
63 lines
1.7 KiB
Plaintext
= Third-party notices
|
|
:toc:
|
|
:toclevels: 1
|
|
|
|
Frontend libraries vendored under `public/vendor/` instead of loaded
|
|
from a CDN, so the app keeps working with no internet access. All are
|
|
BSD-3-Clause licensed.
|
|
|
|
[cols="1,1,2"]
|
|
|===
|
|
| Library | Version | Source
|
|
|
|
| MapLibre GL JS
|
|
| 6.6.0
|
|
| https://github.com/maplibre/maplibre-gl-js
|
|
|
|
| pmtiles (pmtiles.js)
|
|
| 4.5.0
|
|
| https://github.com/protomaps/PMTiles
|
|
|
|
| protomaps-themes-base
|
|
| 4.5.0
|
|
| https://github.com/protomaps/basemaps
|
|
|===
|
|
|
|
Also vendored under `public/vendor/`, but not BSD-3-Clause like the
|
|
above — MIT-licensed per its own `package.json` (the monorepo's
|
|
top-level `LICENSE.md` separately places the whole repo in the public
|
|
domain as a work of the US government; either way, no attribution is
|
|
required):
|
|
|
|
[cols="1,1,2"]
|
|
|===
|
|
| Library | Version | Source
|
|
|
|
| NPS Home Button (`home-button`)
|
|
| 0.0.1-d
|
|
| https://github.com/nationalparkservice/npmap5-plugins/tree/main/home-button
|
|
|===
|
|
|
|
Offline map text labels need font glyphs too (see
|
|
`docs/architecture.adoc`), vendored under `public/vendor/fonts/` —
|
|
SIL Open Font License, not BSD-3-Clause like the above:
|
|
|
|
[cols="1,2"]
|
|
|===
|
|
| Asset | Source
|
|
|
|
| Noto Sans Regular/Italic/Medium glyph PBFs (ranges `0-255`,
|
|
`256-511` only)
|
|
| https://github.com/protomaps/basemaps-assets[protomaps/basemaps-assets]
|
|
(`fonts/`, `OFL.txt` included alongside)
|
|
|===
|
|
|
|
The online map style (not vendored, fetched at runtime when the
|
|
"Online" layer is selected) is
|
|
https://tiles.openfreemap.org/styles/liberty[OpenFreeMap "liberty"],
|
|
built from https://www.openstreetmap.org[OpenStreetMap] data.
|
|
|
|
To update a vendored library: download its package (e.g.
|
|
`npm pack <name>@<version>`), replace the corresponding files under
|
|
`public/vendor/<name>/`, and update the version in this file.
|