Commit 6961f8d0 authored by Haas, Ingrid's avatar Haas, Ingrid

update panoId and path in tour.js

parent 7e8fce27
......@@ -14,8 +14,8 @@
*/
/* define the paths used by the leuven_tour.json*/
var monolith_url="http://isis.isric.org/monoliths/";
var img_url="http://www.rest.museum2.isric.org/monoliths/50per/png/";
var monolith_url="https://isis.isric.org/monoliths/";
var img_url="https://rest-wsm.isric.org/monoliths/50per/png/";
var pdf_url="pdf/";
var video_url="videos/";
var expositionobjects_url="images/";
......@@ -23,7 +23,7 @@ var url;
/*STARTIN POINT - HACK GOOGLE REQUEST FOR panoid */
var panoramaOptions = {
pano: '0yULvdzU1A0AAAQvOixlLg',
pano: 'CAoSLEFGMVFpcFBKYVlOTTJBZ3hUS1U2UGd1ZXVoOFBmYk8ySVJzdkVlY0FLUkdn',
pov: {heading: 390,pitch: 0,zoom: 1.0},
visible: true,
};
......@@ -236,7 +236,9 @@ function addEvents(){
function initTour(){
//jQuery( document ).ready(function() {
panorama = new google.maps.StreetViewPanorama(document.getElementById('pano'), panoramaOptions);
panorama = new google.maps.StreetViewPanorama(
document.getElementById('pano'),
panoramaOptions);
panoWidth = document.getElementById('pano').offsetWidth;
panoHeight = document.getElementById('pano').offsetHeight;
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment