Brandon Liu
ab5534df7e
change ol-pmtiles to TypeScript [ #312 ] ( #444 )
...
* change ol-pmtiles to TypeScript [#444 ]
* olpmtiles: 1.0.0
* accept either a string or pmtiles.Source for the url option
* package.json works for ESM/CJS/IIFE [#312 , #443 ]
* replace npm install with npm ci on github actions
2024-09-11 16:36:48 +08:00
Brandon Liu
089d13d637
AWS updates ( #447 )
...
* AWS updates
* CloudFormation stack parameter for changing CloudFront tile cache TTL.
* S3 requests are always set as Requester Pays, enabling fetching from buckets in other accounts.
2024-09-11 13:45:40 +08:00
Brandon Liu
df23fa6320
Change python example from Toner to Terrarium tiles on AWS [ #440 ] ( #441 )
2024-09-04 11:46:38 +08:00
Brandon Liu
3f320aeda0
AWS Lambda: update dependencies ( #439 )
...
* fix fast-xml-parser security issue.
* update types to nodejs20
* replace deprecated @aws-sdk/node-http-handler with @smithy/node-http-handler, which requires bundling as it's not included in the Lambda runtime.
2024-09-04 11:34:44 +08:00
Brandon Liu
bcd5571ba5
Update CloudFormation template. ( #435 )
...
* Update CloudFormation template.
* Inline Lambda code into CloudFormation template.
read x-distribution-name header in TileJSON response if PUBLIC_HOSTNAME is not set.
* include both build-zip and build-cloudformation-stack in CI
2024-09-02 15:10:12 +08:00
Brandon Liu
2dd5bb7937
Prettier on JavaScript examples [ #383 ] ( #438 )
2024-09-02 14:20:48 +08:00
Honricris
0fd91faf72
Aws Cloudformation Template Added ( #434 )
...
Co-authored-by: chonrc <chonrc00@estudiantes.unileon.es >
2024-08-27 13:03:00 +08:00
Lars Maxfield
579cd7a2a4
Add disk_to_pmtiles: Convert a directory of tiles to pmtiles ( #431 )
...
Add disk_to_pmtiles CLI command and function for converting raster image pyramids to PMTiles.
2024-08-12 17:33:33 +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
a7c76e03e5
Improve failed ETag error message [ #427 ] ( #428 )
...
* Improve failed ETag error message [#427 ]
2024-07-25 11:14:26 +08:00
dependabot[bot]
0f9009e70e
Bump fast-loops from 1.1.3 to 1.1.4 in /app ( #426 )
...
Bumps [fast-loops](https://github.com/robinweser/fast-loops ) from 1.1.3 to 1.1.4.
- [Commits](https://github.com/robinweser/fast-loops/commits )
---
updated-dependencies:
- dependency-name: fast-loops
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-16 09:04:55 +02:00
Markus Wendorf
dd8fdcd37d
cache-control ( #423 )
...
Change CACHE_MAX_AGE to CACHE_CONTROL in AWS and Cloudflare
2024-07-09 10:11:33 +02:00
Brandon Liu
c2a3fcc5e7
bump example maplibre to 4.5.0 [ #421 ] ( #422 )
2024-07-03 09:46:53 +03:00
Brandon Liu
035ca4376c
clean up .github dir ( #420 )
2024-06-29 12:29:53 +02:00
地図の神様
533f522046
Update spec.md ( #419 )
...
the spec requires that `vector_layers` exists.
2024-06-29 11:21:34 +02:00
Brandon Liu
59ab30d68c
Add comments on MapLibre example for ZXY urls; PR template ( #417 )
2024-06-28 11:32:43 +02:00
dependabot[bot]
af3c2e3d62
Bump braces from 3.0.2 to 3.0.3 in /js ( #413 )
...
Bumps [braces](https://github.com/micromatch/braces ) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-18 17:25:47 -04:00
dependabot[bot]
3c661cf03c
Bump ws from 8.16.0 to 8.17.1 in /serverless/cloudflare ( #412 )
...
Bumps [ws](https://github.com/websockets/ws ) from 8.16.0 to 8.17.1.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/8.16.0...8.17.1 )
---
updated-dependencies:
- dependency-name: ws
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-18 16:19:46 -04:00
dependabot[bot]
bc85d62825
Bump braces from 3.0.2 to 3.0.3 in /serverless/cloudflare ( #411 )
...
Bumps [braces](https://github.com/micromatch/braces ) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-18 16:12:45 -04:00
Brandon Liu
252023ea29
ol-pmtiles v0.5.0 [ #407 ] ( #410 )
...
* Update IIFE file and examples
2024-06-12 06:03:23 -06:00
Pranciškus Ambrazas
15d5166736
Allow Customization of OpenLayers Format Parameters ( #408 )
...
* optional format option
2024-06-12 05:58:32 -06:00
Brandon Liu
d16faa2658
update all github pages URLs. ( #406 )
2024-06-08 10:22:27 -06:00
Brandon Liu
f50fc8bdf0
new domain for pmtiles viewer ( #405 )
2024-06-08 10:13:21 -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
bc8f97d642
bump basemap style to v3 [ #49 ] ( #398 )
2024-05-30 11:51:30 +08:00
Niels Bom
658c75b073
refactor: early return ( #389 )
...
* refactor: early return
Undents all the code below it 1 level. Readability win.
---------
Co-authored-by: Brandon Liu <bdon@bdon.org >
2024-04-26 12:41:40 +08:00
Niels Bom
3b5ab6b7ac
gitignore node_modules in cloudflare dir ( #390 )
2024-04-18 11:58:26 -07:00
dependabot[bot]
d78f6377ad
Bump undici from 5.28.3 to 5.28.4 in /serverless/cloudflare ( #388 )
...
Bumps [undici](https://github.com/nodejs/undici ) from 5.28.3 to 5.28.4.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v5.28.3...v5.28.4 )
---
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-04-14 07:38:01 -07:00
dependabot[bot]
de0bb8286a
Bump vite from 2.9.17 to 2.9.18 in /app ( #387 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 2.9.17 to 2.9.18.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v2.9.18/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v2.9.18/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-04-14 07:31:20 -07:00
Brandon Liu
35c31e437c
Remove old basemap examples from app, replace with source.coop mirror [ #49 ] ( #382 )
...
* fix js changelog
2024-04-06 16:41:22 -07:00
Brandon Liu
71e83f138a
Fix tileinspect entrypoint in gh pages build [ #49 , #379 ] ( #380 )
2024-03-25 13:35:36 -07:00
Brandon Liu
08b2c5e3b1
viewer: break tile inspect into separate entrypoint [ #49 ] ( #379 )
...
* viewer: break tile inspect into separate entrypoint [#49 ]
* fix tsc
2024-03-15 12:44:43 +08:00
Brandon Liu
1527d57d23
allow popup freezing [ #282 ] ( #378 )
...
* allow popup freezing [#282 ]
* formatting
2024-03-15 12:01:40 +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
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