Skip to content

Using cluster with AdvancedMarker + InfoWindow #325

Answered by usefulthink
AdamZajlerDDH asked this question in Q&A
Discussion options

You must be logged in to vote

The thing is, that isn't officially supported. The content element is the topmost dom-element we have access to.

As per https://visgl.github.io/react-google-maps/docs/api-reference/components/info-window, I'd recommend using the AdvancedMarker component instead of InfoWindow if you need more flexibility in styling (I'm reworking the AdvancedMarker implementation and docs right now).

Replies: 1 comment 15 replies

Comment options

You must be logged in to vote
15 replies
@miguelvalmeida
Comment options

@AdamZajlerDDH
Comment options

@AdamZajlerDDH
Comment options

@usefulthink
Comment options

Answer selected by AdamZajlerDDH
@AdamZajler
Comment options

@usefulthink
Comment options

@usefulthink
Comment options

@AdamZajler
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants