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
kesha-antonov wants to merge 4 commits into
googlearchive:gh-pagesfrom
kesha-antonov:gh-pages
Closed

Add cssClass option to override any styles in css#43
kesha-antonov wants to merge 4 commits into
googlearchive:gh-pagesfrom
kesha-antonov:gh-pages

Conversation

@kesha-antonov

Copy link
Copy Markdown

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
Copy Markdown

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