Closed jbbulls closed 2 years ago
You manually created the marker but never assigned it to the map, try passing the map instance to the marker like in the first code of https://developers.google.com/maps/documentation/javascript/adding-a-google-map.
The code below is taken from the Google Maps sample. https://jsfiddle.net/api/post/library/pure/ Maybe someone can help me spot the issue. Thanks
onMounted(() => { setTimeout(() => { if (mapRef.value.ready) {
// const panorama = mapRef.value.api.StreetViewPanorama; const panorama = mapRef.value.map.getStreetView();