Toggle visibility range plugin into psv init and adjust where we are table

This commit is contained in:
Daniele Pancottini 2023-03-04 10:10:15 +01:00
parent bf1a8b6f87
commit bb2c749524
2 changed files with 4 additions and 11 deletions

View File

@ -222,13 +222,6 @@ export default function RoomPage({
const shperePlayerInstance = new Viewer({ const shperePlayerInstance = new Viewer({
container: 'roomViewer', container: 'roomViewer',
plugins: [ plugins: [
[
VisibleRangePlugin,
{
longitudeRange: [null],
latitudeRange: [-Math.PI / 2, Math.PI / 4], //Restrict range so you can't see the top of the pano
},
],
[GyroscopePlugin, StereoPlugin], [GyroscopePlugin, StereoPlugin],
MarkersPlugin, MarkersPlugin,
[ [

View File

@ -3,12 +3,12 @@
{ {
"day": "Lunedì", "day": "Lunedì",
"time": "9:00/12:00", "time": "9:00/12:00",
"location": "da Pineto a Chieti (Pineto, Silvi, Montesilvano, Pescara, Chieti e zone limitrofe al tragitto)" "location": "da Pineto a Chieti"
}, },
{ {
"day": "Lunedì", "day": "Lunedì",
"time": "15:00/18:00", "time": "15:00/18:00",
"location": "da Pineto a Martinsicuro (Pineto, Roseto, Giulianova, Mosciano, Martinsicuro e zone limitrofe)" "location": "da Pineto a Martinsicuro"
}, },
{ {
"day": "Martedì", "day": "Martedì",
@ -60,12 +60,12 @@
{ {
"day": "Monday", "day": "Monday",
"time": "9:00/12:00", "time": "9:00/12:00",
"location": "from Pineto to Chieti (Pineto, Silvi, Montesilvano, Pescara, Chieti and nearby areas)" "location": "from Pineto to Chieti"
}, },
{ {
"day": "Monday", "day": "Monday",
"time": "15:00/18:00", "time": "15:00/18:00",
"location": "from Pineto to Martinsicuro (Pineto, Roseto, Giulianova, Mosciano, Martinsicuro and nearby areas)" "location": "from Pineto to Martinsicuro"
}, },
{ {
"day": "Tuesday", "day": "Tuesday",