Skip to content
This repository was archived by the owner on Jun 16, 2019. It is now read-only.

Add cssClass option to override any styles in css #43

Closed
wants to merge 4 commits into from

Conversation

kesha-antonov
Copy link

You can pass cssClass option to add class to each clusterer and override any of properties in css with !important.
In js:

new MarkerClusterer(map, markers, {cssClass: 'my-clusterer'})

In css:

.my-clusterer {
  font-size: 40px !important
}

@XmlmXmlmX
Copy link

Same pull #24

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants