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

A bug in the documentation: styles property expects an array, not object. #120

Open
wujekbogdan opened this issue Jan 21, 2017 · 1 comment

Comments

@wujekbogdan
Copy link

wujekbogdan commented Jan 21, 2017

The documentation says that styles property should be an object. But when an object is given then there's an error in the console:

TypeError: this.styles_.push is not a function
at MarkerClusterer.setupStyles_ (markerclusterer.js:249)

When a single element array that contains an object is given then it works fine and styles are applied.

@XmlmXmlmX
Copy link

Hi @wujekbogdan, that's correct. Please note, that this repository isn't longer maintained. Please report this issue here: https://github.com/gmaps-marker-clusterer/gmaps-marker-clusterer

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

No branches or pull requests

2 participants