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
d7e24d046e
Type safety improvements [ #287 ] ( #335 )
...
* Work through linter issues related to non-null checks and any.
2024-01-29 22:46:08 +08:00
Brandon Liu
a6cbc1961e
Continue linting fixes [ #287 ] ( #332 )
...
* make use of ===, if branches, let/const, string templates, var names consistent style.
2024-01-29 17:41:12 +08:00
Brandon Liu
3b61cc8b49
apply automated linting fixes ( #331 )
2024-01-29 16:04:41 +08:00
Brandon Liu
181c9efb7e
js 2.9; pass header bounds through maplibre protocol
2023-06-22 14:32:11 +08:00
Brandon Liu
10021809dc
add AVIF enum in JS client [ #116 ]
2023-06-22 10:08:34 +08:00
Brandon Liu
2bd776820f
surface exceptions to MapLibre protocol API [ fixes #196 ]
2023-06-17 09:36:27 +08:00
Brandon Liu
af6cc00c0f
fix CI; update type of RequestParameters from maplibre util/ajax.ts
2023-05-29 11:18:54 +08:00
Bryan McBride
4627b96c1d
set blob type for leafletRasterLayer
...
Setting the mime type helps with previewing network requests.
2023-04-06 22:36:59 -04:00
Brandon Liu
403d83a27e
js leafletRasterLayer: show console error if attempting to load a vector archive [ #101 ]
2022-12-02 12:52:01 +08:00
Brandon Liu
9fd1d39ab5
aws/cf depend on js/index instead of dist
2022-11-21 19:29:10 +08:00
Brandon Liu
748c2f65cc
maplibre adapter: use header to return appropriate empty response based on tile type, improve type defs [ #83 ]
2022-10-24 11:57:37 +08:00
Brandon Liu
5eb5dd7580
revert setting maxzoom in leaflet adapter in favor of explicit async header loading.
2022-10-17 21:14:17 +08:00
Brandon Liu
6438d87ff6
leaflet adapter supports cancellation and min/max zoom from header [ #48 ]
2022-10-15 17:02:18 +08:00
Brandon Liu
9f6941e969
JS MapLibre Adapter: autodetect minzoom/maxzoom, clean up hacky loading syntax [ #48 ]
2022-10-14 00:08:08 +08:00
Brandon Liu
cf20dcd0ce
js v2.0.0: rename protocol.tileFunc -> tile, CHANGELOG, README
2022-10-13 10:13:10 +08:00
Brandon Liu
b108831159
js v2 compatibility shim supports tile cancellation
2022-10-05 17:22:37 +08:00
Brandon Liu
41b53c2c12
js library has better organization
2022-10-04 23:40:38 +08:00