Brandon Liu
7ed6377031
js 4.0.1 ( #501 )
...
fix iife build - tell esbuild to use browser platform for fflate dependency.
2024-11-26 12:56:26 +08:00
Brandon Liu
e678dd5326
Pmtiles js v4 ( #499 )
...
* pmtiles js v4: remove pmtiles spec v2 compatibility [#287 ]
* restructure ts files into src
* add tsup for building ESM/CJS and making types work in ESM
* bump fflate dependency
* update CHANGELOG for js 4.0.0
2024-11-26 11:56:41 +08:00
Brandon Liu
d7357088c5
js: bump typescript, @node/types and msw dev dependencies. ( #489 )
...
* js: bump typescript, @node/types and msw dev dependencies.
* js 3.2.1
2024-10-30 13:40:01 -07:00
Brandon Liu
0f09f23ee8
cleanup js raster example ( #482 )
2024-10-20 08:41:53 -07:00
Brandon Liu
60f3331ca9
add geometry filter to js examples because of v4 mixed geometries. ( #464 )
2024-09-25 22:49:06 +08:00
Brandon Liu
3472fd89f9
Option to load metadata in MapLibre adapter [ #247 ] ( #461 )
...
* Option to load metadata in MapLibre adapter [#247 ]
* pass metadata: true to new Protocol() to make an extra request and populate attribution + vector_layers
* js 3.2.0 [#247 ]
* simplify examples
* update leaflet and maplibre versions
* add maplibre_headers.html example for custom headers [#397 ]
2024-09-22 19:04:50 +08:00
Brandon Liu
ce959e50b0
Chrome windows cache workaround ( #454 )
...
js 3.1.0
* Disable browser caching on chrome on windows [#442 ]
* work around for chromium issue: https://issues.chromium.org/issues/40542704
2024-09-19 23:26:09 +08:00
Brandon Liu
2dd5bb7937
Prettier on JavaScript examples [ #383 ] ( #438 )
2024-09-02 14:20:48 +08:00
Brandon Liu
6a4f3d28a0
build instructions
2024-08-08 15:34:20 +08:00
Brandon Liu
957d54ac93
add new firenze JS MapLibre example
2024-08-08 15:33:51 +08:00
Brandon Liu
721c65e391
js 3.0.7 ( #429 )
2024-07-25 11:49:17 +08:00
Brandon Liu
c2a3fcc5e7
bump example maplibre to 4.5.0 [ #421 ] ( #422 )
2024-07-03 09:46:53 +03:00
Brandon Liu
59ab30d68c
Add comments on MapLibre example for ZXY urls; PR template ( #417 )
2024-06-28 11:32:43 +02:00
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