From 50c88ccf95a03681af4315a35608facc0c7777e2 Mon Sep 17 00:00:00 2001 From: Kata Martin Date: Wed, 23 Mar 2022 10:58:35 -0700 Subject: [PATCH] Use new bucket structure for maps demo data --- posts/maps-library-release.md | 10 +++++----- posts/maps-library-release/maps-demo-2d.js | 6 +++--- posts/maps-library-release/maps-demo-4d.js | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/posts/maps-library-release.md b/posts/maps-library-release.md index 5f03479..50dd0cc 100644 --- a/posts/maps-library-release.md +++ b/posts/maps-library-release.md @@ -57,20 +57,20 @@ For the simplest possible example, the following code renders a 2D map of global import { Map, Raster, Line } from '@carbonplan/maps' import { useColormap } from '@carbonplan/colormaps' -const bucket = ‘https://storage.googleapis.com/carbonplan-share/’ +const bucket = 'https://storage.googleapis.com/carbonplan-maps/v1/demo/' const colormap = useColormap('warm') @@ -102,7 +102,7 @@ With the same component, we can just as easily render a 4D map where the third d @@ -118,7 +118,7 @@ In more advanced settings, we might want more control over rendering, including { const { theme } = useThemeUI() @@ -25,13 +25,13 @@ const MapDemo2d = () => { diff --git a/posts/maps-library-release/maps-demo-4d.js b/posts/maps-library-release/maps-demo-4d.js index 20e4722..bc4dbfb 100644 --- a/posts/maps-library-release/maps-demo-4d.js +++ b/posts/maps-library-release/maps-demo-4d.js @@ -6,7 +6,7 @@ import { Group } from '@carbonplan/components' import Parameters from './parameters' import Zoom from './zoom' -const bucket = 'https://storage.googleapis.com/carbonplan-share/' +const bucket = 'https://storage.googleapis.com/carbonplan-maps/v1/demo/' const CLIMS = { tavg: [-20, 30], @@ -42,13 +42,13 @@ const MapDemo4d = () => {