Commit Graph

411 Commits

Author SHA1 Message Date
Brandon Liu
cffdb681cf FetchSource handles servers that return 416 for requests beyond end of file.
* Refine the detection of servers that don't support byte serving.
* Improve console errors related to failed Fetch.
2022-12-04 23:03:39 +08:00
Brandon Liu
ca4c8094a8 viewer: surface more header data [#49] 2022-12-02 23:20:19 +08:00
Brandon Liu
37012d28c0 js 2.5.1 2022-12-02 12:52:49 +08: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
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
Brandon Liu
94e5bc7154 inspector cleanup 2022-12-02 01:36:31 +08:00
Brandon Liu
988a3b2132 viewer: fix tile inspector tabs [#49] 2022-12-01 17:35:59 +08:00
Brandon Liu
b0fe16847e inspector: default to map view with tile boundaries [#49] 2022-12-01 17:31:46 +08:00
Brandon Liu
be6b384601 regenerate package-lock.json 2022-12-01 17:29:10 +08:00
Brandon Liu
726573a24d rename master to main branch 2022-12-01 14:34:04 +08:00
Brandon Liu
2e11a7cd2a clang-format on c++ code 2022-11-30 10:56:24 +08:00
Brandon Liu
36a4d31aa8 C++ headers: add sort comparator and deserialize_header 2022-11-29 20:01:28 +08:00
Brandon Liu
c4409afff2 viewer: regenerate package-lock.json [#49] 2022-11-29 12:50:58 +08:00
Brandon Liu
7a3ac5d6c6 viewer: unify map view on maplibre [#49] 2022-11-29 12:50:07 +08:00
Brandon Liu
e26c5599d6 c++: inline functions to work around linkage with multiple compilation units 2022-11-28 22:04:05 +08:00
Brandon Liu
4e68e8eb13 Lambda: attach CORS headers for all 2xx-4xx responses 2022-11-24 13:06:09 +08:00
Brandon Liu
19de8191c9 cloudflare: set CACHE_MAX_AGE default. 2022-11-24 02:06:17 +08:00
Brandon Liu
5b4737e066 serverless: fix cache keying with multiple archives. 2022-11-24 02:06:00 +08:00
Brandon Liu
222debd075 upgrade CI node version 2022-11-23 15:57:02 +08:00
Brandon Liu
2b5b354f14 Update README.md 2022-11-23 14:25:17 +08:00
Brandon Liu
ce6a4dbe0a fix build and serverless READMEs 2022-11-23 12:06:26 +08:00
Brandon Liu
6b36663d10 serverless README cleanups, wrangler.toml is gitignored 2022-11-23 11:55:57 +08:00
Brandon Liu
7c1315eeb8 update check_examples 2022-11-23 11:20:10 +08:00
Brandon Liu
f9a4848684 AWS Lambda: set 500ms timeouts on s3 requests to work around latency spikes. 2022-11-23 10:38:03 +08:00
Brandon Liu
0e8d051933 add check_examples CI script 2022-11-23 10:27:23 +08:00
Brandon Liu
754068bb84 Delete layout.png 2022-11-22 20:43:08 +08:00
Brandon Liu
47d35484fc port tests to node 18 test module; remove zora dep 2022-11-22 20:38:14 +08:00
Brandon Liu
f457724da1 pass HTTP metadata in S3/R2 Source impls 2022-11-22 14:43:15 +08:00
Brandon Liu
a619aa84e2 make tsconfigs consistent 2022-11-22 10:59:09 +08:00
Brandon Liu
9a3f519207 pmtiles_path can have {name} multiple times [#97] 2022-11-22 10:47:31 +08:00
Brandon Liu
d986c418e4 aws README fixes 2022-11-22 10:46:40 +08:00
Brandon Liu
51c794824c fix spec raster example magic number 2022-11-22 02:12:12 +08:00
Brandon Liu
34291403f2 fix JS maplibre example 2022-11-22 02:12:07 +08:00
Brandon Liu
84cd55f719 bump js example versions 2022-11-21 19:50:18 +08:00
Brandon Liu
82bad64bd3 js 2.5.0 2022-11-21 19:48:16 +08:00
Brandon Liu
336cc221e7 update js CHANGELOG. 2022-11-21 19:47:55 +08:00
Brandon Liu
b01d90a1d0 AWS Lambda: add dev/staging CORS configuration variable. 2022-11-21 19:29:36 +08:00
Brandon Liu
533df1ba1c AWS Lambda: Special case API Gateway responses to recompress data, to work around base64/binary content issues. 2022-11-21 19:29:36 +08:00
Brandon Liu
1d74564ab4 allow both pbf and mvt extensions for vector tiles for now. In the future, pbf option will be removed. 2022-11-21 19:29:36 +08:00
Brandon Liu
1da20f4f49 update AWS Lambda README with API Gateway and content-type details. 2022-11-21 19:29:36 +08:00
Brandon Liu
e86d9b7e04 AWS Lambda: port to node 18 and aws sdk v3 2022-11-21 19:29:36 +08:00
Brandon Liu
f3a5e0ab32 fix README aws examples 2022-11-21 19:29:36 +08:00
Brandon Liu
652666288b cf set cache size explicitly 2022-11-21 19:29:36 +08:00
Brandon Liu
6a1af0f4ca simplify cache LRU logic; use count and not size 2022-11-21 19:29:34 +08:00
Brandon Liu
9fd1d39ab5 aws/cf depend on js/index instead of dist 2022-11-21 19:29:10 +08:00
Brandon Liu
4f0292ff91 lambda: native decompression, 256MB LRU cache 2022-11-21 19:29:10 +08:00