Commit Graph

38 Commits

Author SHA1 Message Date
Brandon Liu
d16faa2658 update all github pages URLs. (#406) 2024-06-08 10:22:27 -06:00
Brandon Liu
5ae66c2144 js 3.0.6 (#399)
* js 3.0.6

* add CommonJS fallback for NodeJS projects not using ESM.
2024-05-30 14:11:09 +08:00
Brandon Liu
2422839816 JS: add missing files to package.json, v3.0.5 [#375] (#376)
* Needed for cases that do not use pre-bundled module in dist
2024-03-08 16:08:54 +08:00
Brandon Liu
3451540a3a js 3.0.4 (#370)
* export DecompressFunc type
* add typedoc comments
2024-02-25 18:29:48 +08:00
Brandon Liu
b229c1a8c7 Remove prefetch boolean from JS sources - no reason to ever not use i… (#353)
* Remove prefetch boolean from JS sources - no reason to ever not use it

* JS optimization for header fetches on etag invalidation [#90]

* If promises are shared between requests, only the first invalidation makes the header request.
* If promises are not shared, simply delete the key.

* JS 3.0.3 [#90]

* update CHANGELOG
2024-02-05 15:57:30 +08:00
Brandon Liu
c43e73a813 fix JS IIFE readme [#347] (#349)
* fix JS IIFE readme [#347]

* js 3.0.2 - fix package.json and IIFE README
2024-02-03 23:06:41 +08:00
Brandon Liu
a9977e3385 js 3.0.01: fix 3.0.0 packaging [#347] (#348)
* js 3.0.1; fix 3.0.0 packaging [#347]

* We can't have a .mjs alongside a .js, so rename the IIFE to pmtiles.js and the ES6 module to index.js.
2024-02-03 23:01:46 +08:00
Brandon Liu
067347cebb JS v3.0.0 (#346) 2024-02-02 17:54:46 +08:00
Brandon Liu
3320353da6 JS 3.0.0-alpha.2 (#342) 2024-01-31 23:09:16 +08:00
Brandon Liu
a0ee7c4906 JS 3.0.0-alpha.1 (#340) 2024-01-31 14:28:25 +08:00
Brandon Liu
9a29c5a78a JS v3.0.0-alpha.0 (#334)
* JS v3.0.0-alpha.0

* Alpha package of new major version with ES6 modules as default in package.json. [#317, #248]

* bump JS examples to 3.0.0-alpha.0
2024-01-29 18:03:00 +08:00
Brandon Liu
8c282b90da js v2.11 (#260)
* js 2.11.0

* update examples
2023-09-28 15:14:50 +08:00
Brandon Liu
b815bab09c js: FetchSource takes optional custom headers (#112)
* js: FetchSource takes optional custom headers
2023-09-28 15:07:25 +08:00
Brandon Liu
0528e12ec9 fix maplibre example 2023-08-01 11:47:20 +08:00
Brandon Liu
77c956d381 Replace compression polyfill ("Worker" related errors) (#222)
* replace compression-streams-polyfill with globalThis check [#167]

* work around web worker issue with decompression polyfill.

* js 2.10.0-beta.0

* js 2.10.0; update examples
2023-07-31 22:20:42 +08:00
Brandon Liu
181c9efb7e js 2.9; pass header bounds through maplibre protocol 2023-06-22 14:32:11 +08:00
Brandon Liu
6052ca2d57 js 2.8.0 2023-06-17 10:44:57 +08:00
Brandon Liu
089a732c54 openlayers: add copy of code for script includes; migrate examples [#3] 2023-05-10 20:20:37 +08:00
Brandon Liu
9b0e473d30 checking of tile types in openlayers [#3] 2023-04-26 19:54:24 +02:00
Brandon Liu
fb0ea53ea2 open layers example: set raster tile size to 512x512 [#3] 2023-04-26 16:33:34 +02:00
Brandon Liu
d15e9a5760 improve openlayers snippets; read header min/maxzoom [#3] 2023-04-26 16:19:58 +02:00
Brandon Liu
ae51557f62 update js examples 2023-04-11 10:51:16 +02:00
Johannes Weskamm
f3c31d022b Fix tile loading 2023-03-22 16:23:07 +01:00
Brandon Liu
30856d951c bump example versions 2023-03-13 14:39:02 +08:00
Brandon Liu
701db2dabc clean up R2 urls 2023-01-25 18:06:07 +08:00
Brandon Liu
4d8d1b0a21 js 2.7.0 2022-12-23 00:14:04 +08:00
Brandon Liu
9a79970851 js 2.6.1 2022-12-10 19:57:33 +08:00
Brandon Liu
577bd9ede7 js 2.6.0 2022-12-05 12:38:46 +08:00
Brandon Liu
68af757800 bump js example versions. 2022-12-04 22:58:21 +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
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
92f6670640 openlayers raster example 2022-11-01 16:50:39 +08:00
Brandon Liu
a0c717f9e4 openlayers: update URL 2022-10-31 11:56:20 +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
d689776a18 add JS leaflet/maplibre example files. 2022-10-24 20:14:32 +08:00