Skip to content
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
5 changes: 1 addition & 4 deletions examples/get-started/pure-js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,7 @@ export const deck = new Deck({
},
controller: true,
views: new MapView({
// most video formats don't fully support transparency
clear: {
color: [255, 255, 255, 1]
}
clearColor: [255, 255, 255, 1]
}),
layers: [
new GeoJsonLayer({
Expand Down
4 changes: 1 addition & 3 deletions examples/website/camera/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,7 @@ export default function App() {
views={
new MapView({
farZMultiplier: 3,
clear: {
color: [61 / 255, 20 / 255, 76 / 255, 1]
}
clearColor: [255, 255, 255, 1]
})
}
parameters={{
Expand Down
7 changes: 2 additions & 5 deletions examples/website/quick-start/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,7 @@ export default function App() {
animation={animation}
deckProps={{
views: new MapView({
// most video formats don't fully support transparency
clear: {
color: [255, 255, 255, 1]
}
clearColor: [255, 255, 255, 1]
})
}}
timecode={TIMECODE}
Expand All @@ -108,4 +105,4 @@ export default function App() {
export async function renderToDOM(container) {
const root = createRoot(container);
root.render(<App />);
}
}
5 changes: 1 addition & 4 deletions examples/website/quick-start/quick-start-after.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,7 @@ export default function App() {
animation={animation}
deckProps={{
views: new MapView({
// most video formats don't fully support transparency
clear: {
color: [255, 255, 255, 1]
}
clearColor: [255, 255, 255, 1]
})
}}
timecode={TIMECODE}
Expand Down
11 changes: 5 additions & 6 deletions examples/website/quick-start/quick-start-before.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,11 @@ export default function App() {
width={640}
height={480}
layers={layers}
views={new MapView({
// most video formats don't fully support transparency
clear: {
color: [255, 255, 255, 1]
}
})}
views={
new MapView({
clearColor: [255, 255, 255, 1]
})
}
/>
);
}
4 changes: 1 addition & 3 deletions test/apps/standalone/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@ const nonGeoExample = new deck.DeckGL({
mapbox: false /* disable map */,
views: new deck.OrbitView({
// most video formats don't fully support transparency
clear: {
color: [255, 255, 255, 1]
}
clearColor: [255, 255, 255, 1]
}),
initialViewState: {distance: 1, fov: 50, rotationX: 10, rotationOrbit: 160, zoom: 3.5},
controller: false,
Expand Down
Loading