How to show google.maps.Circle as a marker in street view?

I created several google.maps.Marker and google.maps.Marker to it (see below):

enter image description here

But when I open the street, I see only a marker:

enter image description here

Does anyone know how to show a circle in street view?

Looks like I can't do this.

Maybe someone knows how to display 2D / 3D objects in Google Street View.

Any suggestion?

Thanks,

These are the code snippets:

  var circle = { strokeColor: "#006DFC", strokeOpacity: 0.4, strokeWeight: 2, fillColor: "#006DFC", fillOpacity: 0.15, map: mapA, center: selectedMarker.getPosition(), radius: 50 // in meters }; var cityCircle = new google.maps.Circle(circle); cityCircle.bindTo('center', selectedMarker, 'position'); 
+4
source share
1 answer

To draw a circle, you can use the Symbol instead of google.maps.Circle , it will be visible in the panorama.

Getting a 3D effect will be more difficult, but it should be possible to change the symbol path in the pov_changed panorama event.

+1
source

All Articles