Im trying to embed google maps in my app (using react-google-maps package as a wrapper) and would like to show the street view of the selected location in the marker info window (tooltip). Im trying to understand how to achieve this via reading the docs but I couldnt find a proper example.
this is how my marker code looks like
<Marker position={{ lat, lng }} title={pulseName} icon={icon} onClick={this.onClick} >
{isTooltipOpen && (
<InfoWindow onCloseClick={this.props.closeMarkerTooltip}>
<MapMarkerTooltipComponent {...this.props} />
</InfoWindow>
)}
</Marker>
The markers are wrapper with a GoogleMap component.
I would expect to be able to extract the street view thumbnail url according to the lat, lang values and pass it to the MapMarkerTooltipComponent
Thanks!