Skip to content

Commit

Permalink
Update Truman_Beach.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Gearomatic committed Jul 22, 2024
1 parent a300d52 commit 8a497b1
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions Panoramas/NY/Truman_Beach.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,37 +65,27 @@
"imports": {
"three": "https://cdn.jsdelivr.net/npm/three/build/three.module.js",
"@photo-sphere-viewer/core": "https://cdn.jsdelivr.net/npm/@photo-sphere-viewer/core/index.module.js",
"@photo-sphere-viewer/markers-plugin": "https://cdn.jsdelivr.net/npm/@photo-sphere-viewer/markers-plugin/index.module.js",
"@photo-sphere-viewer/gyroscope-plugin": "https://cdn.jsdelivr.net/npm/@photo-sphere-viewer/gyroscope-plugin/index.module.js"
"@photo-sphere-viewer/gyroscope-plugin": "https://cdn.jsdelivr.net/npm/@photo-sphere-viewer/gyroscope-plugin/index.module.js"
}
}
</script>

<script type="module">
import { Viewer } from '@photo-sphere-viewer/core';
import { MarkersPlugin } from '@photo-sphere-viewer/markers-plugin';
import { GyroscopePlugin } from '@photo-sphere-viewer/gyroscope-plugin';
import { GyroscopePlugin } from '@photo-sphere-viewer/gyroscope-plugin';
const viewer = new Viewer({

plugins: [
GyroscopePlugin,
[MarkersPlugin, {
"defaultHoverScale": true,
markers: [
{
},
],
}],
],
],
container: document.querySelector('#viewer'),
panorama: 'Truman_Beach.jpg',
caption: '<b> Truman&#39;s Beach, Long Island, New York',
description: document.querySelector('#description').innerHTML,
sphereCorrection: { pan:0, tilt:0, roll: 0 },
navbar: [
'zoom',
'move',
'markers',
'move',
'caption',
'description',
'gyroscope'
Expand Down

0 comments on commit 8a497b1

Please sign in to comment.