Brandon Liu
46de0b076d
ol-pmtiles 0.4.0 ( #374 )
...
* fix double ol source tile load events [#373 ]
* bump pmtiles dependency to 3.x
* bump examples to ol 9.x
* fix package.json publint
2024-03-06 15:45:27 +08:00
Brandon Liu
43133f40c7
remove unused code ( #372 )
2024-02-26 11:25:35 +08:00
Brandon Liu
9a07db9e51
link to typedoc ( #371 )
2024-02-25 18:39:22 +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
264b1d0db8
Generate typedoc and put in GH pages dir ( #369 )
...
* Generate typedoc and put in GH pages dir
2024-02-25 17:44:21 +08:00
Brandon Liu
e2d9dd40bd
python 3.3.0 ( #365 )
2024-02-21 12:47:54 +08:00
Jesse Crocker
206be682c7
Remove print statements ( #364 )
2024-02-21 12:33:18 +08:00
dependabot[bot]
a511813a9e
Bump undici from 5.28.2 to 5.28.3 in /serverless/cloudflare ( #361 )
...
Bumps [undici](https://github.com/nodejs/undici ) from 5.28.2 to 5.28.3.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v5.28.2...v5.28.3 )
---
updated-dependencies:
- dependency-name: undici
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-20 11:57:22 +08:00
Brandon Liu
949510f701
python v3.2.1 ( #360 )
2024-02-10 11:52:11 +08:00
Gabor Simko
ea1657d8fe
fix reader.py reading all the tiles ( #357 )
...
* fix reader.py reading all the tiles
* add unit test
---------
Co-authored-by: Gabor Simko <gsimko3@gmail.com >
2024-02-10 11:40:06 +08:00
Brandon Liu
5b8627b0d8
Implement ETag logic for AWS and Cloudflare [ #90 ] ( #354 )
2024-02-07 11:46:05 +08:00
Brandon Liu
e86dd554be
lint cloudflare implementation ( #352 )
...
Add linters to AWS and cloudflare implementations [#287 ]
2024-02-05 16:59:06 +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
7cc025c776
applying linter fixes to viewer /app [ #49 ] ( #344 )
...
Add biome linter and configuration to /app viewer.
2024-02-01 15:59:34 +08:00
Brandon Liu
61ed024d21
add typedoc [ #287 ] ( #343 )
2024-02-01 14:59:01 +08:00
Brandon Liu
3320353da6
JS 3.0.0-alpha.2 ( #342 )
2024-01-31 23:09:16 +08:00
Brandon Liu
179b1590b1
JS: ETags logic as part of Sources [ #90 ] ( #341 )
...
* Simplifies ETag logic into Source, making if-match conditional requests possible.
* Avoid if-match in FetchSource for latency reasons - use cache buster on ETag change
* handle weak ETags correctly
* add mock fetch server for testing ETags [#90 ]
2024-01-31 23:00:24 +08:00
Brandon Liu
a0ee7c4906
JS 3.0.0-alpha.1 ( #340 )
2024-01-31 14:28:25 +08:00
Brandon Liu
84fb7a8671
Support for both maplibre v3 and v4 addProtocol. ( #339 )
...
Adds support for MapLibre v4.x, which changed the addProtocol interface. This remains backwards-compatible with MapLibre v3.x and earlier.
2024-01-31 12:38:34 +08:00
Brandon Liu
6638d040a5
linting and typing improvements [ #287 ] ( #337 )
...
* Typing improvements [#287 ]
* rename FileApiSource to FileSource
* In a few cases we need to use any and biome-ignore. Deferring any restructuring here to js v4.
* replace prettier with biome
2024-01-31 12:22:25 +08:00
Brandon Liu
6bb1c68ead
JS: make an ESM-only package, remove CommonJS [ #287 ] ( #336 )
2024-01-30 13:00:34 +08:00
Brandon Liu
d7e24d046e
Type safety improvements [ #287 ] ( #335 )
...
* Work through linter issues related to non-null checks and any.
2024-01-29 22:46:08 +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
22d7a58f36
replace esbuild runner with tsx ( #333 )
...
* also bump esbuild to latest version in all package.jsons
2024-01-29 17:51:42 +08:00
Brandon Liu
a6cbc1961e
Continue linting fixes [ #287 ] ( #332 )
...
* make use of ===, if branches, let/const, string templates, var names consistent style.
2024-01-29 17:41:12 +08:00
Brandon Liu
3b61cc8b49
apply automated linting fixes ( #331 )
2024-01-29 16:04:41 +08:00
Brandon Liu
5e41bd65ef
Make package.json main es6 module instead of cjs [ #317 , #248 ] ( #330 )
...
* Make package.json main es6 module instead of cjs [#317 , #248 ]
* remove use of package.json main, instead use exports for dual es6/cjs modules [#317 , #248 ]
* replace esbuild-runner with tsx [#477 ]
2024-01-29 15:31:51 +08:00
dependabot[bot]
f39bffdc35
Bump vite from 2.9.16 to 2.9.17 in /app ( #328 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 2.9.16 to 2.9.17.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v2.9.17/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v2.9.17/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-23 09:51:13 +08:00
dependabot[bot]
cc52d9dde1
Bump wrangler from 3.1.1 to 3.19.0 in /serverless/cloudflare ( #319 )
...
Bumps [wrangler](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler ) from 3.1.1 to 3.19.0.
- [Release notes](https://github.com/cloudflare/workers-sdk/releases )
- [Changelog](https://github.com/cloudflare/workers-sdk/blob/main/packages/wrangler/CHANGELOG.md )
- [Commits](https://github.com/cloudflare/workers-sdk/commits/wrangler@3.19.0/packages/wrangler )
---
updated-dependencies:
- dependency-name: wrangler
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-09 09:53:01 +08:00
Brandon Liu
d301b64ad5
spec v3.4 ( #313 )
...
* add details on leaf directory ordering and entry length > 0.
2023-12-27 09:13:02 +08:00
Daniel J. H
dd76720bef
Fixes units in Python writer default bounds ( #311 )
...
When there are no user-provided bounds provided in the writer
(as in: min/max_lat/lng_e7 properties) the writer mistakenly
defaults to -180,-90,180,90 for these properties.
e1228f5df1/python/pmtiles/tile.py (L277-L283)
But these properties need to be multiplied by 10000000 as
seen e.g. in this examples and as indicated by the "_e7"
e1228f5df1/python/examples/create_raster_example.py (L29-L32)
Without this fix we were seeing pmtiles with bounds around null
island, because the order of magnitude was wrong.
2023-12-15 15:21:39 +08:00
Christopher Boone
e1228f5df1
Uses wrangler deploy instead of deprecated publish ( #305 )
2023-11-25 10:50:24 +08:00
Hélène Martin
a2ef533b67
Use pmtiles extension for output ( #298 )
2023-11-17 08:09:46 +07:00
Brandon Liu
f6842e150a
disable minification of cloudflare worker js ( #290 )
2023-11-13 12:18:16 +08:00
Andrew Brampton
f2805a1681
Flip latitude and longitude in the spec.md ( #273 )
...
Both the C++ and Python implementations decode this as bytes 0-3 as longitude and 4-7 as latitude. I assume the spec has a typo.
2023-10-24 10:12:04 -04:00
Brandon Liu
fd333cc1b6
maplibre inspector stringifies boolean values [ #270 ] ( #271 )
2023-10-19 12:44:49 -04:00
Tobias
41c497109f
Inspector: Explose true/false values ( #270 )
...
* Inspector: Explose true/false values
`true`/`false` where hidden from the UI, they need to be transformed to strings.
* Update Inspector.tsx
2023-10-19 12:28:42 -04:00
dependabot[bot]
b0c14caf0f
Bump @babel/traverse from 7.22.8 to 7.23.2 in /app ( #269 )
...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse ) from 7.22.8 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse )
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 15:13:46 -04:00
dependabot[bot]
34604d9ddd
Bump undici from 5.23.0 to 5.26.3 in /serverless/cloudflare ( #268 )
...
Bumps [undici](https://github.com/nodejs/undici ) from 5.23.0 to 5.26.3.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v5.23.0...v5.26.3 )
---
updated-dependencies:
- dependency-name: undici
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 09:40:25 -04:00
dependabot[bot]
49fe818bcf
Bump postcss from 8.4.19 to 8.4.31 in /app ( #267 )
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.4.19 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.4.19...8.4.31 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 09:40:06 -04:00
Brandon Liu
4bd801305c
Spec 3.3 ( #263 )
...
* Spec 3.3
* Add recommended MIME type to spec document [#241 ]
2023-10-06 15:00:03 +08:00
Brandon Liu
08ff5007b0
Spec v3 edits ( #235 )
...
* consistent spelling and capitalization of RunLength, TileID, MVT; wording [#107 ]
* Spec v.2 changelog; remove sections to be discussed later [#107 ]
* copy corrections by @DerZade [#235 ]
2023-10-02 19:58:02 +08:00
Brandon Liu
cfa732ad6a
ol-pmtiles v0.3.0 ( #262 )
2023-10-01 11:34:37 +08:00
Brandon Liu
0cba01d8a6
ol-pmtiles passes headers like other ol source options ( #261 )
2023-10-01 11:29:50 +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
8925d4272b
add utility module for AWS regions. ( #259 )
2023-09-28 14:31:22 +08:00