Skip to content

Commit

Permalink
Update data source for temperature raster (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixpalmer authored Jan 15, 2024
1 parent 5df2a30 commit 45b7222
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

env:
GCP_PROJECT: carto-dw-tiles3d-demo
NODE_VERSION: "16"
NODE_VERSION: "18"

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

env:
GCP_PROJECT: carto-dw-tiles3d-demo
NODE_VERSION: "16"
NODE_VERSION: "18"

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions layers/temperature.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 45b7222

Please sign in to comment.