-
Notifications
You must be signed in to change notification settings - Fork 49
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: clusterClass prop missing on gmap-cluster component + can't disable img #81
Comments
This issue is closed because it does not meet our issue template. Please read it. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@antoinematyja try the new version 2.0.0 and let me know if you find any issue there. Thanks and apologize for the bot and the delay. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@antoinematyja cluster is working properly on the new v2.0.3 please test it. Regards. |
Describe the bug
Hello :) First of all thanks for this library 馃憤
I'm trying to use the cluster component like this:
https://googlemaps.github.io/v3-utility-library/packages/markerclustererplus/examples/advanced_example.html
The last cluster style : "Circles (css only)".
To reproduce this I need to set a few things like here :
https://github.com/googlemaps/v3-utility-library/blob/master/packages/markerclustererplus/examples/advanced_example.html#L235
The gmap-cluster component has a
styles
prop, but noclusterClass
prop. It would be nice to add it.https://googlemaps.github.io/v3-utility-library/interfaces/_google_markerclustererplus.markerclustereroptions.html#clusterclass
Even with this property, I didn't manage to achieve the same result as the example.
I set the
styles
prop to:(and add css styles)
But the gmap-cluster component stills render a
<img src="undefined">
and won't apply the class. My guess is that aundefined
url is provided and takes over thestyles
.To Reproduce
Create a map with a gmap-cluster, try to set
styles
prop to this:Expected behavior
Cluster should be rendered with
custom-clustericon-*
classesCurrent behavior
A
<img src="undefined">
is renderedScreenshots
Nope
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Nope
Versions
Package manager
Plugin version
The text was updated successfully, but these errors were encountered: