Commit Graph

150 Commits

Author SHA1 Message Date
Brandon Liu
61093697fc typescript leaflet adapter 2022-02-17 12:33:19 +08:00
Brandon Liu
f35215931e typescript parseEntry 2022-02-17 12:33:07 +08:00
Brandon Liu
faea10dd7c flesh out typescript implementation [#27, #28] 2022-02-17 11:46:55 +08:00
Brandon Liu
dc4cde0d1d source files for faster directory fetches [#26] 2022-01-30 20:03:08 +08:00
Brandon Liu
4931f58d85 js 0.5.0 2021-12-29 12:37:20 +08:00
Brandon Liu
7e438bbbae Expose more methods in js library 2021-12-29 12:36:21 +08:00
Brandon Liu
36b982c553 js 0.4.0 2021-12-28 18:20:21 +08:00
Brandon Liu
99da15ff98 loading the root directory is lazy [#17] 2021-11-15 17:11:03 +08:00
Brandon Liu
c40a4a266f display console error if an archive with compression is read directly in the browser. 2021-06-19 12:34:59 +08:00
Brandon Liu
d649aaf1d3 js 0.3.1 2021-06-18 13:17:17 +08:00
Brandon Liu
167991a5bf remove transformRequest-based maplibre shim 2021-06-18 13:17:08 +08:00
Brandon Liu
199e90429b js 0.3.0 2021-06-18 13:13:36 +08:00
Brandon Liu
f288f60239 maplibre: cancel correctly captued in closure [#6] 2021-06-08 18:41:58 +08:00
Brandon Liu
4936526d19 implement cancellation for maplibre fetch [#1] 2021-06-08 18:21:00 +08:00
Brandon Liu
1bceca9535 add addProtocol for maplibre [#6] 2021-06-08 18:15:50 +08:00
Brandon Liu
150a2561c2 implement fetch abort for leaflet image layer [#1] 2021-06-08 17:45:59 +08:00
Brandon Liu
959d573eb6 0.2.2 2021-06-03 12:26:07 +08:00
Brandon Liu
c6f801a1b3 esm target is built by esbuild so dependents don't need classProperties 2021-06-03 12:21:19 +08:00
Brandon Liu
84f40eaffb rename mjs to src.mjs 2021-06-03 12:20:19 +08:00
Brandon Liu
9eae1b8452 js 0.2.1 2021-05-09 11:18:52 +08:00
Brandon Liu
05c1ba61b5 JS decoder checks magic number [#5] 2021-05-09 11:18:08 +08:00
Brandon Liu
a07144640f 0.2.0 2021-04-30 18:21:41 +08:00
Brandon Liu
41dda77cbd cleanup PMTiles constructor; metadata returns Promise 2021-04-30 18:21:26 +08:00
Brandon Liu
91792fd750 js 0.1.0 2021-04-29 11:02:04 +08:00
Brandon Liu
62d56f5acc detect byte serving support via Content-Length [#11] 2021-04-29 10:59:21 +08:00
Brandon Liu
1252b2496c 0.0.8 2021-04-28 16:11:28 +08:00
Brandon Liu
51d6a96759 add more helpful message if you get a 200 for a HEAD with Range request 2021-04-28 16:10:15 +08:00
Brandon Liu
8784c9972b 0.0.7 2021-04-26 11:49:52 +08:00
Brandon Liu
0d28385e85 switch filename to index.mjs, add es2015 iife output [#9] 2021-04-26 11:49:16 +08:00
Brandon Liu
7d56cd95ec add esbuild [#9] 2021-04-26 11:17:38 +08:00
Brandon Liu
20f9a521b6 js 0.0.6 2021-04-11 12:30:18 +08:00
Brandon Liu
cec7fd3996 default param 2021-04-11 12:30:10 +08:00
Brandon Liu
05e097d7ba js 0.0.5 2021-04-03 15:15:38 +08:00
Brandon Liu
eabceee4c4 fix offsets greater than 32 bits; don't use js bitwise operators 2021-04-03 15:14:59 +08:00
Brandon Liu
568ae4fe7f allow status code 200 for gh pages 2021-03-31 15:15:06 +08:00
Brandon Liu
5f3ffb83bf add leaflet demo with osm carto raster tiles, pass leaflet options 2021-03-31 15:11:16 +08:00
Brandon Liu
9e41c46bcd cleanup leafdir logic 2021-03-01 16:20:12 +08:00
Brandon Liu
0d6f39d22b fix leaf check 2021-03-01 11:20:56 +08:00
Brandon Liu
edaf544dd7 metadata is promise-based 2021-03-01 11:10:58 +08:00
Brandon Liu
09e58ccde3 remove headers option 2021-02-25 20:52:13 +08:00
Brandon Liu
8eb3a15549 small refactoring of fetch 2021-02-25 16:10:29 +08:00
Brandon Liu
8b0b193855 simplify maplibre integration 2021-02-25 14:47:28 +08:00
Brandon Liu
01602c6846 implement LRU cache 2021-02-18 19:46:27 +08:00
Brandon Liu
0c55b7e115 fix leaf duplication, index by offset 2021-02-18 18:50:59 +08:00
Brandon Liu
f309d81aa2 fix root dir writing, refactor js getZxy 2021-02-18 16:21:30 +08:00
Brandon Liu
530c10444d js 0.0.4 2021-02-17 15:43:57 +08:00
Brandon Liu
620d4806d7 reformatting, add transformRequest 2021-02-17 15:43:37 +08:00
Brandon Liu
12d5ee3b39 npm 0.0.3 2021-02-17 15:33:18 +08:00
Brandon Liu
ddd4c2fecd add leaflet example, js implementation 2021-02-17 15:33:02 +08:00
Brandon Liu
f054861f96 add js package skeleton 2021-02-17 15:08:03 +08:00