From 3bbb2d652ecf8ef69b5cfdc1a19adb2345871969 Mon Sep 17 00:00:00 2001 From: Xiaoji Chen Date: Wed, 11 Dec 2024 21:25:37 -0800 Subject: [PATCH 1/2] Update common type for compatibility --- src/types/lib.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/types/lib.ts b/src/types/lib.ts index ef2d6aa5d..ac20ab405 100644 --- a/src/types/lib.ts +++ b/src/types/lib.ts @@ -81,6 +81,18 @@ export interface MapInstance extends Evented { triggerRepaint(): void; + getCenter(): LngLat; + + getZoom(): number; + + getBearing(): number; + + getPitch(): number; + + getPadding(): PaddingOptions; + + getRenderWorldCopies(): boolean; + setPadding(padding: PaddingOptions); fitBounds(bounds: any, options?: any); From e49803317f408f7d9eed47634eb40fa4a8e4ab50 Mon Sep 17 00:00:00 2001 From: Pessimistress Date: Wed, 18 Dec 2024 23:15:43 -0800 Subject: [PATCH 2/2] pin CI image version --- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 2 +- .github/workflows/website.yml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 723cd2fda..6c149c520 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,7 @@ on: jobs: release-notes: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: github.repository_owner == 'visgl' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4961d28c6..535715695 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ on: jobs: test-node: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index b88a0211d..b4bd4c01c 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -7,7 +7,7 @@ on: jobs: check_branch: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 outputs: should_deploy: ${{ endsWith(github.ref, steps.get_version.outputs.latest) }} @@ -21,7 +21,7 @@ jobs: echo "latest=${LATEST}-release" >> "$GITHUB_OUTPUT" deploy: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: check_branch permissions: