Commit Graph

754 Commits

Author SHA1 Message Date
Brandon Liu
d3740449d4 js 4.2.1 (#517)
* js 4.2.1
2025-01-14 15:56:47 +08:00
Brandon Liu
701c5cb170 js 4.2.0 (#516)
* js 4.2.0

* update examples
2025-01-14 15:15:07 +08:00
Brandon Liu
d4d97ad7a9 maplibre: display error on empty bounds [#508] (#510)
* If a MapLibre source has empty bounds, no tiles will be displayed.
2025-01-09 16:10:43 +08:00
Brandon Liu
275b5bcb5d rename maplibre_headers to maplibre_advanced; show metadata description (#506) 2025-01-06 15:04:07 +08:00
Brandon Liu
9a53ed8495 js: maplibre protocol has option to throw on missing tile [#321] (#505)
* js: maplibre protocol has option to throw on missing tile [#321]

* js: update docs copy for errorOnMissingTile

* js: 4.1.0
2024-12-15 16:49:56 +08:00
Brandon Liu
5b075048cc js: cleanup error throwing to always use new Error (#504) 2024-12-13 14:42:13 +08:00
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
0413a0cc10 fix package.json types (#500) 2024-11-26 12:01:24 +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
dependabot[bot]
bbeda97ed4 Bump cookie and @bundled-es-modules/cookie in /js (#494)
Bumps [cookie](https://github.com/jshttp/cookie) and [@bundled-es-modules/cookie](https://github.com/bundled-es-modules/cookie). These dependencies needed to be updated together.

Updates `cookie` from 0.5.0 to 0.7.2
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.5.0...v0.7.2)

Updates `@bundled-es-modules/cookie` from 2.0.0 to 2.0.1
- [Commits](https://github.com/bundled-es-modules/cookie/commits)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
- dependency-name: "@bundled-es-modules/cookie"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-13 09:23:25 +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
dependabot[bot]
ca67bd1015 Bump cookie and youch in /serverless/cloudflare (#484)
Bumps [cookie](https://github.com/jshttp/cookie) and [youch](https://github.com/poppinss/youch). These dependencies needed to be updated together.

Updates `cookie` from 0.5.0 to 0.7.2
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.5.0...v0.7.2)

Updates `youch` from 3.3.3 to 3.3.4
- [Release notes](https://github.com/poppinss/youch/releases)
- [Changelog](https://github.com/poppinss/youch/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/poppinss/youch/commits)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
- dependency-name: youch
  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-22 14:17:20 -07:00
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