Park Tiles look as the only base map theme: the old ONLINE_STYLE_PATCH palette and the theme switch are gone, the legend at /symbols.html shows the one look, and the docs carry the sampled Park Tiles colors
This commit is contained in:
1 parent
07b623b7ca
commit
59a29e86a5
8 files changed
+76
-227
No files matched your search
+15
-9
@@ -27,7 +27,7 @@ checking here before searching from zero next time.
|
||||
public domain as a US government work
|
||||
|
||||
| Park Tiles color palette (shared offline + online basemap theme)
|
||||
| `public/js/map_themes.js`'s `ONLINE_STYLE_PATCH`
|
||||
| `public/js/map_themes.js`'s `PARK_TILES_PATCH`
|
||||
| Colors only — see <<park-tiles>> for why the actual tile service isn't used
|
||||
|
||||
| `overview` (top-right minimap/inset control)
|
||||
@@ -187,8 +187,15 @@ why this app uses OpenFreeMap Liberty as its actual basemap, not Park
|
||||
Tiles — see `docs/architecture.adoc`'s "Offline maps" section.
|
||||
|
||||
Recreating the *color choices* is a different matter — not the kind of
|
||||
thing a data license restricts — and is what `ONLINE_STYLE_PATCH` in
|
||||
`public/js/map.js` actually does (see `docs/architecture.adoc`).
|
||||
thing a data license restricts — and is what `PARK_TILES_PATCH` in
|
||||
`public/js/map_themes.js` actually does (see `docs/architecture.adoc`).
|
||||
Its colors come from the Standard style's legend swatches
|
||||
(`nps.gov/maps/web/img/legend/*-standard.png`, small rendered map
|
||||
crops — sampled pixel by pixel): land `#F7EEE8`, NPS unit area a flat
|
||||
sage `#CED2B7`, boundary `#779238`/`#8BA35A` with a `#B2C294` tint band,
|
||||
water `#B5D0DE`, primary road `#F8ECBE` cased `#8F867A`, secondary
|
||||
`#F9F9F6`, local `#F5F3E5`, trails dashed `#8E827B`, buildings
|
||||
`#E7E4D5`/`#C1A88B`.
|
||||
|
||||
=== Public style JSON (source for the real colors we did pull)
|
||||
|
||||
@@ -218,12 +225,11 @@ embedded credentials, even when technically reachable:
|
||||
| `ck5cpia2u0auf01p9vbugvcpv`
|
||||
|===
|
||||
|
||||
Colors actually pulled from the Imagery style JSON and used in
|
||||
`ONLINE_STYLE_PATCH`: background (`hsl(40, 37%, 97%)`, a warm cream), the
|
||||
park/protected-area green (`#b3e378`), the two road-importance tiers
|
||||
(`#fdefbe`/`#fef7dd`), and the park-boundary line color (`#546619`, dark
|
||||
olive). The rest of `ONLINE_STYLE_PATCH` extends that same warm/olive
|
||||
family by eye rather than from a sourced value.
|
||||
The Imagery style sits over satellite imagery, so it has no landcover
|
||||
fills and white labels — useful for road/trail/boundary colors and label
|
||||
hierarchy, not for the land itself; those came from the legend swatches
|
||||
above. (Its `#b3e378` is the park *point* color, which an earlier palette
|
||||
mistakenly used as the park area fill.)
|
||||
|
||||
=== Legend / cartographic hierarchy
|
||||
|
||||
|
||||
Reference in new issue
Block a user