Commit Graph

222 Commits

Author SHA1 Message Date
Brandon Liu
f31b8b2bca js 1.0.4 2022-05-17 14:08:44 +08:00
Brandon Liu
29b9a83e63 fix overwriting of dist/index.js when tsc declarations built 2022-05-17 14:08:24 +08:00
Brandon Liu
51c8ed1804 1.0.3 2022-03-08 16:30:09 +08:00
Brandon Liu
e898912327 fix dist filenames; add cjs build output 2022-03-08 16:29:52 +08:00
Brandon Liu
fa79046d0c update README 2022-02-19 13:55:25 +08:00
Brandon Liu
914999dd3d 1.0.2 fix package.json 2022-02-19 13:24:12 +08:00
Brandon Liu
73a9d37a89 js 1.0.1 2022-02-19 13:22:34 +08:00
Brandon Liu
1b9d9966f5 rename pmtiles.ts > index.ts to fix node-style module resolution 2022-02-19 13:21:35 +08:00
Brandon Liu
7fb28f9690 release 1.0.0 ; add js CHANGELOG 2022-02-18 11:36:45 +08:00
Brandon Liu
ca1c59d9d3 fix binding this in ProtocolCache; update maplibre examples 2022-02-18 11:17:34 +08:00
Brandon Liu
7517b26c66 new maplibre protocol API to avoid duplicate requests [#28] 2022-02-18 10:44:48 +08:00
Brandon Liu
47f03b768e code style cleanup 2022-02-18 10:44:20 +08:00
Brandon Liu
313ce5b037 warn if missing spec v2 metadata properties [#27] 2022-02-17 17:38:34 +08:00
Brandon Liu
3a9679b952 handle leaf levels other than 7 2022-02-17 17:16:44 +08:00
Brandon Liu
837ba393a3 Merge pull request #33 from protomaps/arrow-fns
replace arrow functions in PMTiles class with non-arrows
2022-02-17 14:49:50 +08:00
Brandon Liu
993f13f078 replace arrow functions in PMTiles class with non-arrows 2022-02-17 14:30:42 +08:00
Blayne Chard
bed9372b3a format all typescript files with prettier 2022-02-17 19:27:36 +13:00
Brandon Liu
802b5e46fd re-prettier pmtiles.ts; add prettier task 2022-02-17 14:18:27 +08:00
Brandon Liu
c4560be9a2 remove plain JS module source 2022-02-17 13:31:49 +08:00
Brandon Liu
62e2b79e66 update gitignore 2022-02-17 13:31:17 +08:00
Brandon Liu
bcb20299cd js library 1.0.0 preliminary port to typescript (breaking changes) 2022-02-17 13:31:03 +08:00
Brandon Liu
8aac294603 force re-sorting of directory if spec v1 detected [#27] 2022-02-17 13:29:26 +08:00
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