diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4124a1c..760911c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -7,7 +7,7 @@ on: env: GCP_PROJECT: carto-dw-tiles3d-demo - NODE_VERSION: "16" + NODE_VERSION: "18" jobs: build: diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 38f3cb6..42d7a05 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -5,7 +5,7 @@ on: env: GCP_PROJECT: carto-dw-tiles3d-demo - NODE_VERSION: "16" + NODE_VERSION: "18" jobs: build: diff --git a/index.jsx b/index.jsx index 6159e97..bcf1a0d 100644 --- a/index.jsx +++ b/index.jsx @@ -9,7 +9,7 @@ import {setDefaultCredentials} from '@deck.gl/carto'; const theme = createTheme(); const credentials = { - accessToken: 'eyJhbGciOiJIUzI1NiJ9.eyJhIjoiYWNfN3hoZnd5bWwiLCJqdGkiOiIwNjhlYzgyMCJ9.2SAyHDttt4s-m2i6HgQuMqxdZIr_bdkIzBHM2zbYwOU' + accessToken: 'eyJhbGciOiJIUzI1NiJ9.eyJhIjoiYWNfbHFlM3p3Z3UiLCJqdGkiOiJiMTAyZjgzYyJ9.R2P-6K41Sr3O8lRnJ14I4y9UDfR6xaQPWVpL383lXcE' } // For development use local endpoint via vite proxy (see vite.config.js) diff --git a/layers/temperature.js b/layers/temperature.js index 201f259..30adb91 100644 --- a/layers/temperature.js +++ b/layers/temperature.js @@ -7,9 +7,9 @@ const {colors, values} = TEMPERATURE_COLOR_SCALE; export const TemperatureLayer = new CartoLayer({ id: 'temperature', - connection: 'bigquery', + connection: '3dtiles-demo', type: MAP_TYPES.RASTER, - data: 'cartobq.public_account.temperature_raster_int8', + data: 'cartobq.public_account.temperature_raster_int8_new', formatTiles: 'binary', tileSize: 256, getFillColor: colorBins({