{"action":"closed","issue":{"url":"https://api.github.com/repos/gmaps-marker-clusterer/gmaps-marker-clusterer/issues/20","repository_url":"https://api.github.com/repos/gmaps-marker-clusterer/gmaps-marker-clusterer","labels_url":"https://api.github.com/repos/gmaps-marker-clusterer/gmaps-marker-clusterer/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/gmaps-marker-clusterer/gmaps-marker-clusterer/issues/20/comments","events_url":"https://api.github.com/repos/gmaps-marker-clusterer/gmaps-marker-clusterer/issues/20/events","html_url":"https://github.com/gmaps-marker-clusterer/gmaps-marker-clusterer/issues/20","id":206736234,"number":20,"title":"A bug in the documentation: styles property expects an array, not object.","user":{"login":"wujekbogdan","id":533954,"avatar_url":"https://avatars2.githubusercontent.com/u/533954?v=3","gravatar_id":"","url":"https://api.github.com/users/wujekbogdan","html_url":"https://github.com/wujekbogdan","followers_url":"https://api.github.com/users/wujekbogdan/followers","following_url":"https://api.github.com/users/wujekbogdan/following{/other_user}","gists_url":"https://api.github.com/users/wujekbogdan/gists{/gist_id}","starred_url":"https://api.github.com/users/wujekbogdan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wujekbogdan/subscriptions","organizations_url":"https://api.github.com/users/wujekbogdan/orgs","repos_url":"https://api.github.com/users/wujekbogdan/repos","events_url":"https://api.github.com/users/wujekbogdan/events{/privacy}","received_events_url":"https://api.github.com/users/wujekbogdan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-02-10T08:30:49Z","updated_at":"2017-03-28T04:08:14Z","closed_at":"2017-03-28T04:08:14Z","body":"This is a copy of [an issue reported in the old repository](https://github.com/googlemaps/js-marker-clusterer/issues/120#issuecomment-278871345). I was asked to post here.\r\n\r\nThe [documentation](https://googlemaps.github.io/js-marker-clusterer/docs/reference.html) says that `styles` property should be an object. But when an object is given then there's an error in the console:\r\n```\r\nTypeError: this.styles_.push is not a function\r\nat MarkerClusterer.setupStyles_ (markerclusterer.js:249)\r\n```\r\nWhen a single element array that contains an object is given then it works fine and styles are applied."}}
{"actor":{"display_login":"Remo"}}