{"action":"created","issue":{"url":"https://api.github.com/repos/JeroenDeDauw/Maps/issues/140","repository_url":"https://api.github.com/repos/JeroenDeDauw/Maps","labels_url":"https://api.github.com/repos/JeroenDeDauw/Maps/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/JeroenDeDauw/Maps/issues/140/comments","events_url":"https://api.github.com/repos/JeroenDeDauw/Maps/issues/140/events","html_url":"https://github.com/JeroenDeDauw/Maps/pull/140","id":155747516,"number":140,"title":"Add googlemaps3 clusterer properties","user":{"login":"PeterTheOne","id":666289,"avatar_url":"https://avatars.githubusercontent.com/u/666289?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterTheOne","html_url":"https://github.com/PeterTheOne","followers_url":"https://api.github.com/users/PeterTheOne/followers","following_url":"https://api.github.com/users/PeterTheOne/following{/other_user}","gists_url":"https://api.github.com/users/PeterTheOne/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterTheOne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterTheOne/subscriptions","organizations_url":"https://api.github.com/users/PeterTheOne/orgs","repos_url":"https://api.github.com/users/PeterTheOne/repos","events_url":"https://api.github.com/users/PeterTheOne/events{/privacy}","received_events_url":"https://api.github.com/users/PeterTheOne/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JeroenDeDauw/Maps/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/JeroenDeDauw/Maps/labels/GoogleMaps","name":"GoogleMaps","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-19T14:15:47Z","updated_at":"2016-05-23T10:42:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JeroenDeDauw/Maps/pulls/140","html_url":"https://github.com/JeroenDeDauw/Maps/pull/140","diff_url":"https://github.com/JeroenDeDauw/Maps/pull/140.diff","patch_url":"https://github.com/JeroenDeDauw/Maps/pull/140.patch"},"body":"Adds the following googlemaps3 clusterer properties:\r\n\r\n    'gridSize': (number) The grid size of a cluster in pixels.\r\n    'maxZoom': (number) The maximum zoom level that a marker can be part of a\r\n        cluster.\r\n    'zoomOnClick': (boolean) Whether the default behaviour of clicking on a\r\n        cluster is to zoom into it.\r\n    'averageCenter': (boolean) Wether the center of each cluster should be\r\n        the average of all markers in the cluster.\r\n    'minimumClusterSize': (number) The minimum number of markers to be in a\r\n        cluster before the markers are hidden and a count\r\n        is shown.\r\n\r\n – https://github.com/googlemaps/js-marker-clusterer/blob/gh-pages/src/markerclusterer.js#L41\r\n\r\nThey are all prefixed with \"cluster\" as in \"clustergridsize\", the default values are taken from [js-marker-clusterer](https://github.com/googlemaps/js-marker-clusterer) itself. Except clustermaxzoom that was set to null, has a default of 20. Before this change `averageCenter` was set to `true` statically and now is set to `false`, so this is a change of default behavior.\r\n\r\nUsage:\r\n\r\n    {{\r\n    #display_map:0,0;1,1;1,0;0,1;5,5;6,6;5,6;2,0;2,1;-5,-5;-5,5;5,-5;-1,-1;-1,0;0,-1;10,10;-10,10;50,50;-50,50;50,-50;-50,-50;0,50;0,51;0,52\r\n    | markercluster = true\r\n    | clustergridsize = 120\r\n    | clustermaxzoom = 20\r\n    | clusterzoomonclick = true\r\n    | clusteraveragecenter = true\r\n    | clusterminsize = 2\r\n    }}"},"comment":{"url":"https://api.github.com/repos/JeroenDeDauw/Maps/issues/comments/220946459","html_url":"https://github.com/JeroenDeDauw/Maps/pull/140#issuecomment-220946459","issue_url":"https://api.github.com/repos/JeroenDeDauw/Maps/issues/140","id":220946459,"user":{"login":"kghbln","id":1104078,"avatar_url":"https://avatars.githubusercontent.com/u/1104078?v=3","gravatar_id":"","url":"https://api.github.com/users/kghbln","html_url":"https://github.com/kghbln","followers_url":"https://api.github.com/users/kghbln/followers","following_url":"https://api.github.com/users/kghbln/following{/other_user}","gists_url":"https://api.github.com/users/kghbln/gists{/gist_id}","starred_url":"https://api.github.com/users/kghbln/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kghbln/subscriptions","organizations_url":"https://api.github.com/users/kghbln/orgs","repos_url":"https://api.github.com/users/kghbln/repos","events_url":"https://api.github.com/users/kghbln/events{/privacy}","received_events_url":"https://api.github.com/users/kghbln/received_events","type":"User","site_admin":false},"created_at":"2016-05-23T10:42:00Z","updated_at":"2016-05-23T10:42:00Z","body":"> Should we set the default of averageCenter to true again, what do you think?\r\n\r\nI guess since it was already in there like this it should stay \"true\" for the wikis to avoid changing their current setup."}}
{"actor":{"display_login":"kghbln"}}