-
Notifications
You must be signed in to change notification settings - Fork 769
Adding support for css class styling. #111
base: gh-pages
Are you sure you want to change the base?
Conversation
…tom css is supplied it will ignore the default style and the 'styles' parameter.
…tom css is supplied it will ignore the default style and the 'styles' parameter.
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
I signed it! |
@KevinJCandlert google doesn't support this anymore, but we've created a fork where you can find this option https://gmaps-marker-clusterer.github.io/gmaps-marker-clusterer/#reference-styles |
@Remo Yeah, I've noticed that. But I couldn't find which branch you've merged. But just adding a CSS class to the cluster-marker along with all the inline styling requires you to add It's hard to get it right and also maintain some kind of good UX for the API 👍 |
I think there were two branches, this should be the one that was merged (not by me) https://github.com/gmaps-marker-clusterer/gmaps-marker-clusterer/pull/6/files |
I wanted a way to get custom styling from CSS instead of having repeatedly inline CSS for each cluster marker.
If the cssClass options are supplied it will ignore the default styling and the options from the 'styles' parameter.
This is more or less the same feature as #24 but with less white-space changes and different implementation.