You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+42
Original file line number
Diff line number
Diff line change
@@ -4,3 +4,45 @@
4
4
This repository contains examples to show case the different visualizations that can be achieved using [CARTO](https://carto.com) + [deck.gl](https://deck.gl).
5
5
6
6
All the examples can be executed locally or opened with [StackBlitz](https://stackblitz.com/).
7
+
8
+
9
+
## Locally setup with deck.gl master branch
10
+
11
+
All the examples have a script `dev-local` that can be used to link with the `master` branch of https://github.com/visgl/deck.gl.
12
+
13
+
In order to use those scripts you need to do the following.
Copy file name to clipboardexpand all lines: tileset-buildings/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
## Example: Tileset Buildings deck.gl and CARTO
2
-
This example visualize a tileset with all the buildings in the world (publicly available in [OpenStreetMap](https://console.cloud.google.com/marketplace/product/openstreetmap/geo-openstreetmap?project=cartodb-on-gcp-backend-team)) in a performance and cost-effective way. This dataset has **481M** polygons and a size of **119GB**.
2
+
This example visualize a tileset with all the buildings in the world (publicly available in [OpenStreetMap](https://console.cloud.google.com/marketplace/product/openstreetmap/geo-openstreetmap) in a performance and cost-effective way. This dataset has **481M** polygons and a size of **119GB**.
3
3
4
4
Uses [Vite](https://vitejs.dev/) to bundle and serve files.
Copy file name to clipboardexpand all lines: tileset-buildings/index.html
+17
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,23 @@
26
26
<divid="app">
27
27
<divid="map"></div>
28
28
<canvasid="deck-canvas"></canvas>
29
+
<divid="story-card">
30
+
<pclass="overline">✨👀 You're viewing</p>
31
+
<h2>World buildings (481M polygons)</h2>
32
+
<p>This example visualize a tileset with all the buildings in the world (publicly available in
33
+
<ahref="https://console.cloud.google.com/marketplace/product/openstreetmap/geo-openstreetmap" rel="noopener noreferrer" target="_blank">OpenStreetMap</a>) in a performance and cost-effective way.
34
+
This dataset has <strong>481M</strong> polygons and a size of <strong>119GB</strong>.</p>
35
+
<p>
36
+
<divclass="layer-controls">
37
+
<pclass="overline">Take me to...</p>
38
+
<divclass="city-button-group">
39
+
<buttonid="tokyo" value="tokyo">🇯🇵 Tokyo</button>
40
+
<buttonid="newyork" value="newyork">🇺🇸 New York</button>
0 commit comments