Commit Graph

118 Commits

Author SHA1 Message Date
Brandon Liu
fb6edcd31d viewer: display raw values as tooltips for human-readable byte lengths (#622)
* viewer: display raw values as tooltips for human-readable byte lengths
2025-12-15 22:56:51 +08:00
Brandon Liu
ec103efdff app: update MapLibre GL to 5.13.0, update vite (#615)
* app: update MapLibre GL to 5.13.0, update vite

* bump style-spec version
2025-12-01 15:55:19 +08:00
dependabot[bot]
e232df5574 Bump vite from 6.3.5 to 6.4.1 in /app (#603)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.3.5 to 6.4.1.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/create-vite@6.4.1/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.4.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-28 17:16:08 +08:00
Brandon Liu
005b66a373 More muted styling in iframe mode (#593)
* More muted styling in iframe mode

Colors match those on source.coop where the viewer is embedded.

* linting
2025-09-19 14:27:21 +08:00
dependabot[bot]
d4b9c6a211 Bump form-data from 4.0.1 to 4.0.4 in /app (#589)
Bumps [form-data](https://github.com/form-data/form-data) from 4.0.1 to 4.0.4.
- [Release notes](https://github.com/form-data/form-data/releases)
- [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md)
- [Commits](https://github.com/form-data/form-data/compare/v4.0.1...v4.0.4)

---
updated-dependencies:
- dependency-name: form-data
  dependency-version: 4.0.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-29 21:05:12 +08:00
Brandon Liu
667f0fd90b app: Ensure points and lines are above polygons in tile view (#577)
* app: Ensure points and lines are above polygons in tile view
2025-06-02 11:33:21 -04:00
Brandon Liu
9e10aeb24b fix text zoom color [#555] (#579) 2025-05-30 14:25:19 -04:00
Brandon Liu
4b2312c039 Iframe (#573)
* hash value for iframe

* app: modify UI for iframe mode

* change position of zoom number to not be blocked by large attribution
* improve appearance of filename in nav for local files

* improve fill appearance in overlay mode
2025-05-16 09:54:17 -07:00
Brandon Liu
77612d37ee app: show local filename in top bar (#572)
* fix URL state of showTileBoundaries
* improve cursor hover
2025-05-12 16:28:47 -07:00
Brandon Liu
86d59b7346 force map view to be dark mode [#567] (#569)
* force map view to be dark mode [#567]

* nearest resampling for raster mode
* cleanup python deps

* formatting
2025-05-07 10:56:59 -07:00
dependabot[bot]
96ec570c1b Bump vite from 6.2.6 to 6.3.5 in /app (#568)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.2.6 to 6.3.5.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.3.5/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.3.5
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-05 18:53:08 -07:00
Brandon Liu
e7016748df app: add Overture Places to list of examples (#566)
* app: add Overture Places to list of examples
2025-04-30 09:43:01 -06:00
Brandon Liu
ca8cd48330 app: clean up archive view; allow closing leaf (#563) 2025-04-27 14:25:44 +08:00
Brandon Liu
6bf9b8fcb0 fix setting of source when URL is changed after error [#49] (#562)
* fix setting of source when URL is changed after error [#49]

* fix setFeatureState when unchecking inspect
2025-04-26 21:04:04 +08:00
Rob Labs
60056a5621 Add a label to a polygon with name (#561)
* fix to toggle visibility of the label layer for line data

* Add polygon label along poly border.  Related to #555.  Depends on #560
2025-04-26 20:34:15 +08:00
Rob Labs
aa43ad8365 fix to toggle visibility of the label layer for line data (#560) 2025-04-26 18:58:07 +08:00
Brandon Liu
bb51c64b72 New viewer 4 (#559)
app: viewer improvements [#49]

* show missing id when feature id is undefined instead of 0
* improve point symbology for dense point tilesets
* show lon,lat in popup
* better wrapping for long popup value strings
2025-04-25 11:33:32 +08:00
Brandon Liu
ae4840fdf1 app: fix tile border display [#49] (#558)
* clean up comments and console
2025-04-25 11:29:11 +08:00
Brandon Liu
26c857ff40 app: viewer improvements [#555] (#557)
* add line labels
* allow loading remote and local tilesets without clearing the current tileset
2025-04-22 14:33:33 +08:00
Brandon Liu
731f03d325 New viewer [#49] (#549)
app: Rewrite of PMTiles viewer (pmtiles.io) [#49, #551, #555, #556]

* Rewrite the app using SolidJS / Tailwind.
* Make the map view mobile friendly.
* Add an archive inspector for viewing the low level structure of PMTiles.
* Add a tile inspector for viewing a single tile in isolation. 
* Support TileJSON.
* Support raster archives.
2025-04-22 11:05:19 +08:00
dependabot[bot]
305ecf60d4 Bump vite from 6.2.1 to 6.2.4 in /app (#543)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.2.1 to 6.2.4.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.4/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.2.4/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.2.4
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 09:46:44 +08:00
dependabot[bot]
1d897f4f7e Bump @babel/helpers from 7.22.6 to 7.26.10 in /app (#538)
Bumps [@babel/helpers](https://github.com/babel/babel/tree/HEAD/packages/babel-helpers) from 7.22.6 to 7.26.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.26.10/packages/babel-helpers)

---
updated-dependencies:
- dependency-name: "@babel/helpers"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-19 09:52:25 +08:00
Jake Low
538dc3a530 app: disable pointer events on popup unless it is frozen (#537) 2025-03-19 09:52:10 +08:00
Brandon Liu
90a6a2af3c app: bump vite version, add tilezen to sample datasets (#536) 2025-03-11 13:43:40 -07:00
Brandon Liu
caa8f1f726 bump viewer to maplibre 5.1, latest basemap (#525)
* bump viewer to maplibre 5.1, latest basemap
2025-02-04 23:41:47 +08:00
dependabot[bot]
b2ed481cdf Bump vite from 3.2.11 to 4.5.6 in /app (#520)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 3.2.11 to 4.5.6.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v4.5.6/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.5.6/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-28 12:22:26 +08:00
Brandon Liu
e678dd5326 Pmtiles js v4 (#499)
* pmtiles js v4: remove pmtiles spec v2 compatibility [#287]
* restructure ts files into src
* add tsup for building ESM/CJS and making types work in ESM
* bump fflate dependency
* update CHANGELOG for js 4.0.0
2024-11-26 11:56:41 +08:00
Brandon Liu
66303480b6 Update pmtiles.io example links to v4 (#477) 2024-10-12 13:08:01 +08:00
dependabot[bot]
669e1d6336 Bump rollup from 2.79.1 to 2.79.2 in /app (#467)
Bumps [rollup](https://github.com/rollup/rollup) from 2.79.1 to 2.79.2.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.79.1...v2.79.2)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 10:45:51 +08:00
dependabot[bot]
897d6f186e Bump vite from 2.9.18 to 3.2.11 in /app (#459)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 2.9.18 to 3.2.11.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v3.2.11/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v3.2.11/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-19 23:25:21 +08:00
dependabot[bot]
0f9009e70e Bump fast-loops from 1.1.3 to 1.1.4 in /app (#426)
Bumps [fast-loops](https://github.com/robinweser/fast-loops) from 1.1.3 to 1.1.4.
- [Commits](https://github.com/robinweser/fast-loops/commits)

---
updated-dependencies:
- dependency-name: fast-loops
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-16 09:04:55 +02:00
Brandon Liu
d16faa2658 update all github pages URLs. (#406) 2024-06-08 10:22:27 -06:00
Brandon Liu
bc8f97d642 bump basemap style to v3 [#49] (#398) 2024-05-30 11:51:30 +08:00
dependabot[bot]
de0bb8286a Bump vite from 2.9.17 to 2.9.18 in /app (#387)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 2.9.17 to 2.9.18.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v2.9.18/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v2.9.18/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-14 07:31:20 -07:00
Brandon Liu
35c31e437c Remove old basemap examples from app, replace with source.coop mirror [#49] (#382)
* fix js changelog
2024-04-06 16:41:22 -07:00
Brandon Liu
71e83f138a Fix tileinspect entrypoint in gh pages build [#49, #379] (#380) 2024-03-25 13:35:36 -07:00
Brandon Liu
08b2c5e3b1 viewer: break tile inspect into separate entrypoint [#49] (#379)
* viewer: break tile inspect into separate entrypoint [#49]

* fix tsc
2024-03-15 12:44:43 +08:00
Brandon Liu
1527d57d23 allow popup freezing [#282] (#378)
* allow popup freezing [#282]

* formatting
2024-03-15 12:01:40 +08:00
Brandon Liu
7cc025c776 applying linter fixes to viewer /app [#49] (#344)
Add biome linter and configuration to /app viewer.
2024-02-01 15:59:34 +08:00
Brandon Liu
6638d040a5 linting and typing improvements [#287] (#337)
* Typing improvements [#287]

* rename FileApiSource to FileSource
* In a few cases we need to use any and biome-ignore. Deferring any restructuring here to js v4.
* replace prettier with biome
2024-01-31 12:22:25 +08:00
dependabot[bot]
f39bffdc35 Bump vite from 2.9.16 to 2.9.17 in /app (#328)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 2.9.16 to 2.9.17.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v2.9.17/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v2.9.17/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-23 09:51:13 +08:00
Brandon Liu
fd333cc1b6 maplibre inspector stringifies boolean values [#270] (#271) 2023-10-19 12:44:49 -04:00
Tobias
41c497109f Inspector: Explose true/false values (#270)
* Inspector: Explose true/false values

`true`/`false` where hidden from the UI, they need to be transformed to strings.

* Update Inspector.tsx
2023-10-19 12:28:42 -04:00
dependabot[bot]
b0c14caf0f Bump @babel/traverse from 7.22.8 to 7.23.2 in /app (#269)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.22.8 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 15:13:46 -04:00
dependabot[bot]
49fe818bcf Bump postcss from 8.4.19 to 8.4.31 in /app (#267)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.19 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.19...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 09:40:06 -04:00
Brandon Liu
96eb357362 app improvements (#258)
* viewer app: improve type safety and visibility of overlay features.

* correct basemap attribution.

* prettier
2023-09-27 13:49:40 +08:00
Brandon Liu
f378bb97a8 upgrade vector basemap to tiles v3, styles v2 [#49] (#257) 2023-09-26 16:25:30 +08:00
Brandon Liu
fd297cc71b Viewer layer toggle shows layer colors [#243] (#252) 2023-09-20 11:44:25 +08:00
Brandon Liu
70146469e9 detect map hash being passed more reliably to auto-set bounds [#246] (#251)
* add README for installing /app [#244]
2023-09-11 11:05:50 +08:00
Brandon Liu
befa393ad9 Inspector improvements (#218)
* conditionally reposition map if map hash wasn't passed [#49]

* add 20230408 basemap to viewer presets
2023-07-08 20:35:24 +08:00