Commit aed28049 authored by Jorge S. Mendes de Jesus's avatar Jorge S. Mendes de Jesus

Merge branch 'master' of https://git.wur.nl/isric/leuven.git

parents d2df66c9 24f729b5
......@@ -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.
......@@ -26,8 +26,8 @@
<script type="text/javascript" src="assets/js/tour.js"></script> <!-- this js contains the initTour -->
<script >
var s = document.createElement("script");
s.typet = "text/javascript";
s.src = "https://maps.googleapis.com/maps/api/js?key=AIzaSyBNjBofeB7ALxZAN0oTSEOJwQfYvzQfl8w&callback=initTour";
s.type = "text/javascript";
s.src = "https://maps.googleapis.com/maps/api/js?key=AIzaSyBNjBofeB7ALxZAN0oTSEOJwQfYvzQfl8w&sensor=false&callback=initTour";
$("head").append(s);
</script>
......
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