in Education by
I'm using google street view , i want to make users look around the street when they enter my site. I have tried this: var lookAround = function(){ pano.getPov().heading = pano.getPov().heading + 50; if(pano.getPov().heading < 100){ setTimeout("lookAround()",2000); } }; but it doesn't work , the rotation parameter have actually changed , but the view of the picture doesn't. Can any one help me with this ?many thanks! JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
When you make any changes to the panorama you have to make it visible by using the method setVisible. In your case you have to call pano.setVisible(true) after you set the new heading.

Related questions

0 votes
    I'm using google street view , i want to make users look around the street when they enter my ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 9, 2022 in Education by JackTerrance
0 votes
    How to disable auto-rotation in jwplayer library? fragment.setFullscreenOnDeviceRotate(false); setRequestedOrientation( ... Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 19, 2022 in Education by JackTerrance
0 votes
    I have a single window with a single custom view in it, and I want the custom view to resize ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    In the component view, where can you change the name of a component from? Basic settings Advanced settings Documentation View...
asked Mar 23, 2021 in Technology by JackTerrance
0 votes
    I'm basically trying to build a game board. For simplicity's sake, imagine a Jeopardy! board. I'd ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 7, 2022 in Education by JackTerrance
0 votes
    In Google Analytics session time is 30 minutes andhow to change it to 45 minutes?...
asked Oct 3, 2020 in Technology by JackTerrance
0 votes
    How to View the change history of a file using Git versioning?...
asked Jan 8, 2021 in Technology by JackTerrance
0 votes
    The relation EMPDT1 is defined with attributes empcode(unique), name, street, city, state, and pincode. ... topic in division Query Processing Techniques of Database Management...
asked Oct 10, 2021 in Education by JackTerrance
0 votes
    What is the use of Track Page View in Google Analytics?...
asked Oct 3, 2020 in Technology by JackTerrance
0 votes
    Need to show a credits screen where I want to acknowledge the many contributors to my application. Want it ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 27, 2022 in Education by JackTerrance
0 votes
    _________ view is used to change the form design , apperance and size of various controls Select the correct answer from above options...
asked Nov 26, 2021 in Education by JackTerrance
0 votes
    _________ view is used to change the form design , apperance and size of various controls Select the correct answer from above options...
asked Nov 25, 2021 in Education by JackTerrance
0 votes
    I am working on an application that maintains a connection for several purposes, such as publishing an ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 2, 2022 in Education by JackTerrance
0 votes
    object looks like as below { "id":1, "image":"path/to/image", "employee_data":, } again ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 13, 2022 in Education by JackTerrance
...