Skip to content

Commit

Permalink
Update sv-panoid.html
Browse files Browse the repository at this point in the history
  • Loading branch information
freealise committed May 10, 2024
1 parent 6ffa715 commit 53f837d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/basic/sv-panoid.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,12 @@ <h2>GoogleStreetViewLoader.load</h2>
});

const controlButton = document.getElementById("loadLink");
panorama = map.getStreetView(
panorama = map.getStreetView(); // TODO fix type
panorama.setOptions({
addressControl: false,
panControl: false,
enableCloseButton: true,
); // TODO fix type
});
panorama.controls[google.maps.ControlPosition.TOP_CENTER].push(controlButton);
panorama.setPosition( pano );
panorama.setPov(
Expand Down

0 comments on commit 53f837d

Please sign in to comment.