Commit Graph

41 Commits

Author SHA1 Message Date
Brandon Liu
bc8f97d642 bump basemap style to v3 [#49] (#398) 2024-05-30 11:51:30 +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
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
0053c86652 viewer app: raster overlays show vector basemap 2023-05-08 14:00:27 +08:00
kajkal
baea873997 prettier formatting 2023-03-26 14:58:29 +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
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
28df71c588 inspector basemap improvements [#49] 2023-02-07 15:57:09 +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
25088aaccf set but don't read tile inspector hash state; store max extent 2022-12-14 11:04:59 +08:00
Brandon Liu
01ccaa9dad Inspector: use source library files instead of build artifact 2022-12-04 23:13:46 +08:00
Brandon Liu
32828f391b inspector: improve type checks, map color scheme [#49] 2022-12-02 12:33:33 +08:00
Brandon Liu
24ddc77c56 viewer: use vector_layers metadata [#49] 2022-12-02 02:20:25 +08:00
Brandon Liu
b0fe16847e inspector: default to map view with tile boundaries [#49] 2022-12-01 17:31:46 +08:00
Brandon Liu
639c9e8b9c don't hardcode maplibre style; rely on tilestats (todo: support vector_layers) 2022-10-17 23:13:03 +08:00
Brandon Liu
05bcc717ab fix previe app build 2022-10-13 11:21:08 +08:00
Brandon Liu
884e980100 inspector GL map uses fitBounds 2022-10-05 22:34:50 +08:00
Brandon Liu
d8851a7041 inspector app uses new JS client 2022-10-05 10:48:00 +08:00
Brandon Liu
3811ff9b1b js decoder 1.1.0
adds fflate dependency; maplibre decoder can read gzipped tiles [#41]
2022-07-07 12:36:16 +08:00
Brandon Liu
419ae06a6e decompress vector tile preview correctly 2022-07-06 23:53:12 +08:00
Brandon Liu
cbc5f19083 app visual cleanup 2022-06-15 10:56:54 +08:00
Brandon Liu
9962b4e344 improvements to inspector app 2022-06-13 16:48:58 +08:00
Brandon Liu
9309f42ced app updates 2022-06-01 10:46:38 +08:00
Brandon Liu
e926399853 inspector app has shared tile type detection 2022-05-05 11:22:35 +08:00
Brandon Liu
a1753af6df add Vite-based app for example TypeScript application 2022-05-04 17:53:11 +08:00