I'm building a web application using Google Street View andh HTML / Javascript.
I'd like to enable / disable the arrows controls that are on the images.
I can't show examples to do it ...
Suggestions / examples?
Answer
I've solved in this way ...
test Street View
src="https://maps.googleapis.com/maps/api/js?key=
In this section I've configured the options ...
//### Modify Street View controls ...
var panoOptions = {
scrollwheel: false,
disableDefaultUI: true,
clickToGo: false
};
window.panorama.setOptions(panoOptions);
Now I'm able to manage how to enable / disable controls on Street View images ...
No comments:
Post a Comment