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
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
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
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
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
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
James Scott-Brown
b1a4ecbc7d
change single to double quotes
2023-05-15 17:07:14 +01:00
James Scott-Brown
606f79d483
Remove max-width for tooltips
...
The Maplibre docs say that `options.maxWidth` is "A string that sets the CSS property of the popup's maximum width, eg '300px' . To ensure the popup resizes to fit its content, set this property to 'none'"
https://maplibre.org/maplibre-gl-js-docs/api/markers/#popup
2023-05-15 15:17:00 +01:00
Brandon Liu
7d57f57c3e
app: clean up unused dependencies
2023-05-09 13:52:09 +08:00
Brandon Liu
0053c86652
viewer app: raster overlays show vector basemap
2023-05-08 14:00:27 +08:00
kajkal
3a948e984f
fix invalid link href in GitHub Pages
2023-03-27 16:43:52 +02:00
kajkal
baea873997
prettier formatting
2023-03-26 14:58:29 +02:00
kajkal
3282e6f325
simplify opening a new viewer tab
2023-03-26 14:10:33 +02:00
kajkal
b3631def6b
add vector layers visibility controller
2023-03-26 14:08:14 +02:00
kajkal
e21d1b5c76
improve UX of "show attributes" mode
2023-03-26 12:43:04 +02:00
Brandon Liu
0dbe87cfdd
format app/ with prettier
2023-03-15 14:37:57 +08:00
RobLabs.com
6700673009
Add WebP PMTiles binary & example file
2023-03-14 19:58:43 -07:00
RobLabs.com
70c173b7fd
Allow for PMTiles with WebP raster tiles
2023-03-14 16:58:12 -07:00
Brandon Liu
06fe05f27a
fix types
2023-03-14 09:25:26 +08:00
Brandon Liu
7d69ee1eb5
inspector: fix raster minzoom/maxzoom
2023-03-14 09:23:04 +08:00
Brandon Liu
84fad95cde
prettier formatting for app/
2023-03-12 13:34:50 +08:00
James Scott-Brown
163397050b
disable "Load URL" button if url is empty
2023-03-10 16:21:27 +00:00
Brandon Liu
28df71c588
inspector basemap improvements [ #49 ]
2023-02-07 15:57:09 +08:00
Brandon Liu
701db2dabc
clean up R2 urls
2023-01-25 18:06:07 +08:00
Brandon Liu
22db55c202
inspector: display basemap for overlay vector datasets
2023-01-18 16:58:19 +08:00
Brandon Liu
421544e342
inspector: don't read tilestats [ #49 ]
2023-01-18 15:51:59 +08:00
Brandon Liu
af409af043
inspector: only apply mask settings to fill layer [ #49 ]
2023-01-04 16:42:07 +08:00
Brandon Liu
2ac1ad1776
inspector: toggle maplibre options in menu [ #49 ]
2023-01-04 16:35:29 +08:00
Brandon Liu
87c395073e
hover inspect for map view [ #49 ]
2022-12-27 17:38:46 +08:00
Brandon Liu
80c02e1833
display runlength in inspector
2022-12-21 15:40:12 +08:00
Brandon Liu
25088aaccf
set but don't read tile inspector hash state; store max extent
2022-12-14 11:04:59 +08:00
Brandon Liu
ce0dba5ed4
Inspector: fix types and cleanup effects [ #49 ]
2022-12-04 23:57:37 +08:00
Brandon Liu
382225d1da
Inspector: show errors for file loading in dialog [ #49 ]
2022-12-04 23:52:24 +08:00
Brandon Liu
01ccaa9dad
Inspector: use source library files instead of build artifact
2022-12-04 23:13:46 +08:00
Brandon Liu
ca4c8094a8
viewer: surface more header data [ #49 ]
2022-12-02 23:20:19 +08:00
Brandon Liu
32828f391b
inspector: improve type checks, map color scheme [ #49 ]
2022-12-02 12:33:33 +08:00
Brandon Liu
decf0424d7
improve SVG view [ #49 ]
2022-12-02 11:22:14 +08:00
Brandon Liu
b6a1f0ca56
use json-viewer for metadata [ #49 ]
2022-12-02 02:27:29 +08:00
Brandon Liu
24ddc77c56
viewer: use vector_layers metadata [ #49 ]
2022-12-02 02:20:25 +08:00
Brandon Liu
7b65314ca9
improve metadata view [ #49 ]
2022-12-02 01:51:58 +08:00