-
Notifications
You must be signed in to change notification settings - Fork 935
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow React component as InfoWindow content #25
Comments
Kind of interesting. What's your expected API ? |
Since #32 is landed, currently the Combined with marker: <Marker lat={lat} lng={lng}>
<InfoWindow title="Blabla" onClick={this.handleClick}>
</Marker> Proposed API for
|
👍 This API is exactly what I want. But a content of |
This would be exactly what I need. It's crucial for my application! |
This can be implement by the following:
What do you guys think? |
After passing the |
No. As long as the |
I know it's impolite to ask if anyone has implemented this feature, but I want to do it anyway since I would need this feature. Is there any progress? I'm just building my first app with react and I'm not quite sure if I could implement this feature myself. Sorry. |
how to hide infow window close buttom??? |
1 similar comment
how to hide infow window close buttom??? |
how to customize info window i can't change default style |
what about the Marker, can we pass jsx element against marker's icon props ? |
It seems that the content in the InfoWindow has to be a String.
However it would be nice to allow more complex UI's here, like a React component as the content.
The text was updated successfully, but these errors were encountered: