Commit Graph

692 Commits

Author SHA1 Message Date
Brandon Liu
0f09f23ee8 cleanup js raster example (#482) 2024-10-20 08:41:53 -07:00
Brandon Liu
b70fa01282 python: v3.4.1 2024-10-12 13:34:11 +08:00
Lars Maxfield
28960a9e6f Fix #478 with correct y-flip logic where the default is y=0 at top; add 'tms' scheme for zxy with flipped y (#479) 2024-10-12 13:08:44 +08:00
Brandon Liu
66303480b6 Update pmtiles.io example links to v4 (#477) 2024-10-12 13:08:01 +08:00
dependabot[bot]
669e1d6336 Bump rollup from 2.79.1 to 2.79.2 in /app (#467)
Bumps [rollup](https://github.com/rollup/rollup) from 2.79.1 to 2.79.2.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.79.1...v2.79.2)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 10:45:51 +08:00
Brandon Liu
b0c765feb1 Default origins to * in wrangler.toml template (#466) 2024-09-30 15:22:50 +08:00
Brandon Liu
60f3331ca9 add geometry filter to js examples because of v4 mixed geometries. (#464) 2024-09-25 22:49:06 +08:00
dependabot[bot]
eb23c33ab0 Bump rollup from 4.21.2 to 4.22.4 in /openlayers (#462)
Bumps [rollup](https://github.com/rollup/rollup) from 4.21.2 to 4.22.4.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v4.21.2...v4.22.4)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-24 14:19:43 +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
c7db819b2e update CHANGELOG 2024-09-20 09:26:27 +08:00
Brandon Liu
d976d9242c ol-pmtiles 1.0.2 (#460)
* bump pmtiles to 3.1.0 [#384, #445]
2024-09-19 23:32:53 +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
dependabot[bot]
897d6f186e Bump vite from 2.9.18 to 3.2.11 in /app (#459)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 2.9.18 to 3.2.11.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v3.2.11/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v3.2.11/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-09-19 23:25:21 +08:00
Aapeli
d36823476b Fix AWS build instructions (#458) 2024-09-19 10:05:41 +08:00
Brandon Liu
6f5479439b add getTileJson method to PMTiles class [#239, #247] (#453)
* add getTileJson method to PMTiles class [#239, #247]
* update docs related to FetchSource and headers [#397]
2024-09-18 15:57:14 +08:00
Brandon Liu
6ed85a28fb add .js to OpenLayers imports [#451] (#452) 2024-09-17 17:12:04 +08:00
Brandon Liu
353a7611e8 serverless/cloudflare: update Wrangler version and compatibility dates. (#450)
* serverless/cloudflare: update Wrangler version and compatibility dates.

* fix Lambda build
2024-09-12 16:54:59 +08:00
Brandon Liu
61c38459ba Switch lambda-function.zip to use CommonJS instead of ESM to match CloudFormation inlined template [#448] (#449) 2024-09-12 10:17:09 +08:00
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