Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade examples to 1.4 beta #291

Merged
merged 3 commits into from
Feb 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/get-started/pure-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build": "vite build"
},
"dependencies": {
"@hubble.gl/core": "^1.3.0",
"@hubble.gl/core": "^1.4.0-beta.2",
"deck.gl": "^8.9",
"popmotion": "9.3.1"
},
Expand Down
4 changes: 2 additions & 2 deletions examples/get-started/scripting/index.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<html>
<head>
<!-- deck.gl standalone bundle -->
<script src="https://unpkg.com/deck.gl@8.5.10/dist.min.js"></script>
<script src="https://unpkg.com/hubble.gl@1.3.8/dist.min.js"></script>
<script src="https://unpkg.com/deck.gl@8.9.35/dist.min.js"></script>
<script src="https://unpkg.com/hubble.gl@1.4.0-beta.2/dist.min.js"></script>
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.53.1/mapbox-gl.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.53.1/mapbox-gl.css' rel='stylesheet' />
<style>
Expand Down
6 changes: 4 additions & 2 deletions examples/kepler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"deck.gl": "8.9.27",
"d3-request": "^1.0.6",
"global": "^4.3.0",
"hubble.gl": "^1.4.0-alpha.0",
"hubble.gl": "^1.4.0-beta.2",
"kepler.gl": "3.1.0",
"mapbox-gl": "1.13.1",
"maplibre-gl": "^3.6.2",
Expand All @@ -31,6 +31,8 @@
"@luma.gl/constants": "8.5.21",
"@luma.gl/core": "8.5.21",
"@luma.gl/shadertools": "8.5.21",
"@luma.gl/experimental": "8.5.21"
"@luma.gl/experimental": "8.5.21",
"@hubble.gl/core": "1.4.0-beta.2",
"@hubble.gl/react": "1.4.0-beta.2"
}
}
2 changes: 1 addition & 1 deletion examples/website/basic-basemap-mapbox-legacy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"deck.gl": "^8.9",
"hubble.gl": "^1.4.0-alpha.0",
"hubble.gl": "^1.4.0-beta.2",
"d3-color": "^1.4.1",
"react": "^18.3.0",
"react-dom": "^18.3.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/website/basic-basemap-mapbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"deck.gl": "^8.9",
"hubble.gl": "^1.4.0-alpha.0",
"hubble.gl": "^1.4.0-beta.2",
"d3-color": "^1.4.1",
"react": "^18.3.0",
"react-dom": "^18.3.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/website/basic-basemap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"deck.gl": "^8.9",
"hubble.gl": "^1.4.0-alpha.0",
"hubble.gl": "^1.4.0-beta.2",
"d3-color": "^1.4.1",
"react": "^18.3.0",
"react-dom": "^18.3.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/website/camera/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export default function App() {
<Container>
<div style={{position: 'relative'}}>
<DeckGL
ref={deckRef}
ref={ref => deckRef.current = ref?.deck}
style={{position: 'unset'}}
views={new MapView({farZMultiplier: 3})}
parameters={{
Expand Down
2 changes: 1 addition & 1 deletion examples/website/camera/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"d3-color": "^1.4.1",
"hubble.gl": "^1.3.0",
"hubble.gl": "^1.4.0-beta.2",
"deck.gl": "^8.9",
"react": "^18.3.0",
"react-dom": "^18.3.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/website/quick-start/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dependencies": {
"d3-color": "^1.4.1",
"deck.gl": "^8.9",
"hubble.gl": "^1.3.0",
"hubble.gl": "^1.4.0-beta.2",
"popmotion": "9.3.1",
"react": "^18.3.0",
"react-dom": "^18.3.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/website/terrain/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export default function App() {
<Container>
<div style={{position: 'relative'}}>
<DeckGL
ref={deckRef}
ref={ref => deckRef.current = ref?.deck}
style={{position: 'unset'}}
viewState={cameraFrame}
onViewStateChange={({viewState: vs}) => {
Expand Down
2 changes: 1 addition & 1 deletion examples/website/terrain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build": "vite build"
},
"dependencies": {
"hubble.gl": "^1.3.0",
"hubble.gl": "^1.4.0-beta.2",
"deck.gl": "^8.9",
"react": "^18.3.0",
"react-dom": "^18.3.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/website/trips/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dependencies": {
"d3-color": "^1.4.1",
"react-map-gl": "^7.1.0",
"hubble.gl": "^1.4.0-alpha.0",
"hubble.gl": "^1.4.0-beta.2",
"maplibre-gl": "^3.6.2",
"deck.gl": "^8.9",
"react": "^18.3.0",
Expand Down
Loading