Google-maps-react: Info window is not showing without click marker.

Created on 6 Aug 2020  路  2Comments  路  Source: fullstackreact/google-maps-react

I want to show InfoWindow whenever map load by default it will show marker and top of it InfoWindow I'm using this but it will not work.

<Marker
          name="SOMA"
          position={{ lat: 37.778519, lng: -122.40564 }}
          title="The marker`s title will appear as a tooltip."
        >
       <InfoWindow visible >
          <h6>Click on any of the markers to display an additional info.</h6>
        </InfoWindow>
</Marker>

I don't want to show infowindow on click but I want to show it as default(Already show).

Most helpful comment

I just leave this repo and now using google-map-react which is very good

All 2 comments

@AxeemHaider having the same issue

I just leave this repo and now using google-map-react which is very good

Was this page helpful?
0 / 5 - 0 ratings