{"action":"created","issue":{"url":"https://api.github.com/repos/googlemaps/js-marker-clusterer/issues/86","repository_url":"https://api.github.com/repos/googlemaps/js-marker-clusterer","labels_url":"https://api.github.com/repos/googlemaps/js-marker-clusterer/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/googlemaps/js-marker-clusterer/issues/86/comments","events_url":"https://api.github.com/repos/googlemaps/js-marker-clusterer/issues/86/events","html_url":"https://github.com/googlemaps/js-marker-clusterer/issues/86","id":162905516,"number":86,"title":"Cluster disappears when markers at the same position","user":{"login":"omerts","id":4996164,"avatar_url":"https://avatars.githubusercontent.com/u/4996164?v=3","gravatar_id":"","url":"https://api.github.com/users/omerts","html_url":"https://github.com/omerts","followers_url":"https://api.github.com/users/omerts/followers","following_url":"https://api.github.com/users/omerts/following{/other_user}","gists_url":"https://api.github.com/users/omerts/gists{/gist_id}","starred_url":"https://api.github.com/users/omerts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omerts/subscriptions","organizations_url":"https://api.github.com/users/omerts/orgs","repos_url":"https://api.github.com/users/omerts/repos","events_url":"https://api.github.com/users/omerts/events{/privacy}","received_events_url":"https://api.github.com/users/omerts/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-29T11:47:03Z","updated_at":"2016-08-17T16:42:38Z","closed_at":null,"body":"If I have a couple markers at the same location, clicking on the cluster zooms in, and a second click makes the cluster disappear.\r\n\r\nTo reproduce, you can use the simple_example.html, and just change:\r\n```javascript\r\nvar markers = [];\r\nfor (var i = 0; i < 100; i++) {\r\n  var dataPhoto = data.photos[i];\r\n  var latLng = new google.maps.LatLng(dataPhoto.latitude,\r\n      dataPhoto.longitude);\r\n  var marker = new google.maps.Marker({\r\n    position: latLng\r\n  });\r\n  markers.push(marker);\r\n}\r\n```\r\nTo: \r\n```javascript\r\nvar markers = [];\r\nvar dataPhoto = data.photos[0];\r\nfor (var i = 0; i < 100; i++) {\r\n  var latLng = new google.maps.LatLng(dataPhoto.latitude,\r\n      dataPhoto.longitude);\r\n  var marker = new google.maps.Marker({\r\n    position: latLng\r\n  });\r\n  markers.push(marker);\r\n}\r\n```\r\n\r\n**Result**\r\n\r\nBefore click:\r\n![image](https://cloud.githubusercontent.com/assets/4996164/16450870/3faaa9de-3e08-11e6-9d6a-2f18151b1e5b.png)\r\n\r\nAfter click:\r\n![image](https://cloud.githubusercontent.com/assets/4996164/16450879/49dcbfdc-3e08-11e6-92bb-9dcd065c5e49.png)\r\n"},"comment":{"url":"https://api.github.com/repos/googlemaps/js-marker-clusterer/issues/comments/240471936","html_url":"https://github.com/googlemaps/js-marker-clusterer/issues/86#issuecomment-240471936","issue_url":"https://api.github.com/repos/googlemaps/js-marker-clusterer/issues/86","id":240471936,"user":{"login":"pcsantana","id":11601325,"avatar_url":"https://avatars.githubusercontent.com/u/11601325?v=3","gravatar_id":"","url":"https://api.github.com/users/pcsantana","html_url":"https://github.com/pcsantana","followers_url":"https://api.github.com/users/pcsantana/followers","following_url":"https://api.github.com/users/pcsantana/following{/other_user}","gists_url":"https://api.github.com/users/pcsantana/gists{/gist_id}","starred_url":"https://api.github.com/users/pcsantana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcsantana/subscriptions","organizations_url":"https://api.github.com/users/pcsantana/orgs","repos_url":"https://api.github.com/users/pcsantana/repos","events_url":"https://api.github.com/users/pcsantana/events{/privacy}","received_events_url":"https://api.github.com/users/pcsantana/received_events","type":"User","site_admin":false},"created_at":"2016-08-17T16:42:38Z","updated_at":"2016-08-17T16:42:38Z","body":"Having the same issue. Did you find any solution to this?"}}
{"actor":{"display_login":"pcsantana"}}