Commit 64d5f02
viewer: show native-resolution status in the layer panel
The collection's native zoom — the Web-Mercator zoom where one screen
pixel maps to ~one source COG pixel — was only implicit (used by the
tile-timing overlay's "over +N" label). Make it explicit in the
right-side layer panel:
- At native zoom: "★ native resolution · zNN · 1:1 pixels" (green).
- Off native: "native zNN · ±N · upsampled/downsampled" (muted).
So a user can tell at a glance whether they're seeing true native
detail, stretched imagery (above native), or averaged-down imagery
(below native). Also documents NATIVE_ZOOM at its definition site —
the scanner derives it per COG from ground sample distance and stores
the collection median in collections.json.1 parent 4cf30b5 commit 64d5f02
1 file changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
274 | 279 | | |
275 | 280 | | |
276 | 281 | | |
| |||
588 | 593 | | |
589 | 594 | | |
590 | 595 | | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
591 | 615 | | |
592 | 616 | | |
593 | 617 | | |
| |||
0 commit comments