react-google-maps-api icon indicating copy to clipboard operation
react-google-maps-api copied to clipboard

`OverlayView` is not rendered on the map

Open bn-piar opened this issue 1 year ago • 2 comments

OverlayView's content is not present on the map

[email protected] @react-google-maps/[email protected]

How does it behave?

It does not render content passed to it as children, nothing is present on the map.

How should it behave correctly?

It should render the content as shown in the example here

Codesandbox

bn-piar avatar Sep 02 '22 02:09 bn-piar

I am facing the same issue, no errors, after upgrading to react 18 clusters, markers and overlay views are not being drawn.

ivannovazzi avatar Sep 16 '22 13:09 ivannovazzi

try OverlayViewF if exists. around half of components are refactored to hooks. Other are waiting for refactoring. If you need some component, and it is still class based - by now you have to make your own component based on those I've done alredy. You can add it to the lib in PR, I will review it, merge and publish.

JustFly1984 avatar Sep 16 '22 16:09 JustFly1984