Commit Graph

614 Commits

Author SHA1 Message Date
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
Brandon Liu
91ddf2e913 cloudflare uses native decompression 2022-11-14 22:05:46 +08:00
Brandon Liu
5de95b8fbe modular decompression implementation 2022-11-14 21:58:20 +08:00
Brandon Liu
bcb2313d1e js: make tryDecompress async 2022-11-14 21:41:57 +08:00
Brandon Liu
6d866e3507 AWS Lambda: mime types and extensions; remove CORS config from code 2022-11-14 14:39:58 +08:00
Brandon Liu
79cb3ba96f update cloudflare README. 2022-11-13 18:55:59 +08:00
Brandon Liu
a645710410 Update README.md 2022-11-12 22:38:16 +08:00
Brandon Liu
79c87fb04a MIME type fixups for CDN compression 2022-11-11 20:21:22 +08:00
Brandon Liu
02fa1a5a67 cloudflare cache API 2022-11-05 11:35:33 +08:00
Brandon Liu
e6218dd4f9 cleanup example 2022-11-03 15:10:51 +08:00
Brandon Liu
9385c69326 add maplibre raster DEM example 2022-11-03 14:32:35 +08:00
Brandon Liu
cd1374cc33 python: fix magic number in writer, assert current spec version and magic number in reader 2022-11-01 17:24:29 +08:00
Brandon Liu
302eeab47e js client: show error when future spec version is read 2022-11-01 17:02:49 +08:00
Brandon Liu
92f6670640 openlayers raster example 2022-11-01 16:50:39 +08:00
Brandon Liu
d010efd1ff js client: Etag-related invalidation fixes [#90] 2022-11-01 16:29:00 +08:00
Brandon Liu
5ef3e09e3d Update README.md 2022-11-01 15:16:51 +08:00
Brandon Liu
a0c717f9e4 openlayers: update URL 2022-10-31 11:56:20 +08:00
Brandon Liu
281927ee43 viewer: update zcta sample dataset 2022-10-31 11:56:20 +08:00
Brandon Liu
32943e70df update readme recipe 2022-10-31 11:47:05 +08:00
Brandon Liu
40679aa2bd js docs: add example on line to include library 2022-10-28 18:34:47 +08:00
Brandon Liu
674e92624d improve OpenLayers example; maxzoom and TileState 2022-10-28 10:56:18 +08:00
Brandon Liu
84710d250f bump JS example versions; add experimental OpenLayers example [#3] 2022-10-28 09:56:22 +08:00
Brandon Liu
76063ccadb js 2.4.0 2022-10-27 15:32:59 +08:00
Brandon Liu
afcd31b511 Fail gracefully when ETag mismatch happens more than once.
* Some HTTP servers will return 206 Partial Content with an ETag for the contents, not the entire resource.
* This change allows the client to continue with mismatched ETags if this case is detected.
2022-10-27 15:32:59 +08:00
Brandon Liu
763c0e8099 UPLOAD recipes 2022-10-26 23:21:23 +08:00
Brandon Liu
d01057b1d6 Update README.md 2022-10-26 17:49:15 +08:00
Brandon Liu
10e24d9437 fix CI 2022-10-25 00:37:51 +08:00
Oliver Wipfli
31549115b9 Update README.md 2022-10-24 22:56:53 +08:00
Brandon Liu
b39a304f57 Cleanup unused files 2022-10-24 22:55:00 +08:00
Brandon Liu
9e45a810a2 update JS README about CORS 2022-10-24 22:42:31 +08:00
Brandon Liu
95b376fcf3 add js examples to gh-pages build 2022-10-24 22:29:38 +08:00
Brandon Liu
d689776a18 add JS leaflet/maplibre example files. 2022-10-24 20:14:32 +08:00
Brandon Liu
6a71f48f20 js v2.3.0 2022-10-24 12:29:43 +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
4cf368a599 Merge pull request #82 from protomaps/more-samples
add spec v3 examples to viewer
2022-10-22 11:03:46 +08:00
Brandon Liu
257b41dd04 add spec v3 examples to viewer 2022-10-22 10:59:30 +08:00
Brandon Liu
4f20a4b933 small spec copy improvements 2022-10-19 23:21:49 +08:00
Brandon Liu
546cc93b01 update lambda README 2022-10-19 23:16:36 +08:00
Brandon Liu
c38b9dfe31 python version 3.0.0 [#80] 2022-10-19 23:14:43 +08:00
Brandon Liu
69de812839 Show upgrade notice in python pmtiles-convert 2022-10-19 23:11:56 +08:00
Brandon Liu
1a57eb554e remove redundant test CI command 2022-10-19 23:11:24 +08:00
Brandon Liu
b3c9ba2b49 CI fixes 2022-10-19 23:07:38 +08:00
Brandon Liu
6ed943d156 migrate Lambda implementation from python -> node [#80] 2022-10-19 23:01:53 +08:00
Brandon Liu
814761e152 remove unneeded build parts for lambda 2022-10-19 22:37:02 +08:00
Brandon Liu
543b8ef50f tile_path and error handling for lambda 2022-10-19 22:36:28 +08:00
Brandon Liu
9346762aa5 implement tile_path customization for cloudflare 2022-10-19 22:35:12 +08:00
Brandon Liu
da235cac22 cloudflare: clean up exports, correct status code 2022-10-19 19:36:06 +08:00
Brandon Liu
550c62e73e aws js: implement with hardcoded archive/tile path 2022-10-19 19:35:40 +08:00