Skip to content

Commit

Permalink
feat: add 3d terrain
Browse files Browse the repository at this point in the history
  • Loading branch information
tiacop committed Jun 26, 2023
1 parent 14e11e4 commit bbcf40a
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pages/[slug].js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import dynamic from 'next/dynamic'
import * as React from 'react'
import { useState, useCallback, useMemo } from 'react'

import Map, {
Source,
Layer,
Expand Down Expand Up @@ -227,6 +228,7 @@ export default function App({
longitude: 9,
minZoom: 3,
zoom: 5,
maxPitch: 85,
bearing: 0,
pitch: 0,
}}
Expand Down
1 change: 1 addition & 0 deletions pages/hydro/[slug].js
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ export default function App({
zoom: 5,
bearing: 0,
pitch: 0,
maxPitch: 85,
}}
style={{ width: '100vw', height: '100vh' }}
mapStyle={
Expand Down
1 change: 1 addition & 0 deletions pages/impact-probabilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ export default function App({ impactData, allPosts }) {
pitch: 0,
minZoom: 5,
zoom: 5,
maxPitch: 85,
}}
style={{ width: '100vw', height: '100vh' }}
mapStyle={
Expand Down
1 change: 1 addition & 0 deletions pages/impacts-nuts3.js
Original file line number Diff line number Diff line change
Expand Up @@ -923,6 +923,7 @@ export default function App({ impactData, allPosts }) {
pitch: 0,
minZoom: 5,
zoom: 5,
maxPitch: 85,
}}
style={{ width: '100vw', height: '100vh' }}
mapStyle={
Expand Down
1 change: 1 addition & 0 deletions pages/impacts.js
Original file line number Diff line number Diff line change
Expand Up @@ -903,6 +903,7 @@ export default function App({ impactData, allPosts }) {
pitch: 0,
minZoom: 5,
zoom: 5,
maxPitch: 85,
}}
style={{ width: '100vw', height: '100vh' }}
mapStyle={
Expand Down
1 change: 1 addition & 0 deletions pages/vulnerabilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,7 @@ export default function App({
pitch: 0,
minZoom: 5,
zoom: 5,
maxPitch: 85,
}}
style={{ width: '100vw', height: '100vh' }}
mapStyle={
Expand Down

1 comment on commit bbcf40a

@vercel
Copy link

@vercel vercel bot commented on bbcf40a Jun 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ado – ./

ado-eurac.vercel.app
ado-git-main-eurac.vercel.app
ado.eurac.edu

Please sign in to comment.