{"action":"created","issue":{"url":"https://api.github.com/repos/Leaflet/Leaflet.markercluster/issues/566","labels_url":"https://api.github.com/repos/Leaflet/Leaflet.markercluster/issues/566/labels{/name}","comments_url":"https://api.github.com/repos/Leaflet/Leaflet.markercluster/issues/566/comments","events_url":"https://api.github.com/repos/Leaflet/Leaflet.markercluster/issues/566/events","html_url":"https://github.com/Leaflet/Leaflet.markercluster/issues/566","id":110018564,"number":566,"title":"Bind poppup to each MarkerCcluster`s marker","user":{"login":"SultanPro","id":8285853,"avatar_url":"https://avatars.githubusercontent.com/u/8285853?v=3","gravatar_id":"","url":"https://api.github.com/users/SultanPro","html_url":"https://github.com/SultanPro","followers_url":"https://api.github.com/users/SultanPro/followers","following_url":"https://api.github.com/users/SultanPro/following{/other_user}","gists_url":"https://api.github.com/users/SultanPro/gists{/gist_id}","starred_url":"https://api.github.com/users/SultanPro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SultanPro/subscriptions","organizations_url":"https://api.github.com/users/SultanPro/orgs","repos_url":"https://api.github.com/users/SultanPro/repos","events_url":"https://api.github.com/users/SultanPro/events{/privacy}","received_events_url":"https://api.github.com/users/SultanPro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-06T14:23:51Z","updated_at":"2015-10-06T16:34:36Z","closed_at":null,"body":"Hi, I have every marker added to the markerclusterer markers and I want to just bind poppup to each marker , like when you are zooming map and click markers here should poppup appear,but here clusters not working just markers without clusters\r\nHere Loop:\r\n       var me = this;\r\n        var marker = new L.MarkerClusterGroup();\r\n        var store = Ext.getStore('Person.PersonStore');\r\n        for (var i = 0; i < store.data.items.length; i++) {\r\n            if (store.data.items[i].data.position != null) {\r\n                var lat = store.data.items[i].data.position.lat;\r\n                var lng = store.data.items[i].data.position.lng;\r\n                var position = {\r\n                    lat: lat,\r\n                    lng: lng\r\n                };\r\n               marker = new L.Marker(position).bindPopup('<div>' + \"sssss\" + '</div>');\r\n                 map.addLayer(marker);\r\n        }\r\nHow to make them bind poppup and when you click to marker here poppup appear?\r\nThanks\r\nI have read about this but they used custom marker "},"comment":{"url":"https://api.github.com/repos/Leaflet/Leaflet.markercluster/issues/comments/145921167","html_url":"https://github.com/Leaflet/Leaflet.markercluster/issues/566#issuecomment-145921167","issue_url":"https://api.github.com/repos/Leaflet/Leaflet.markercluster/issues/566","id":145921167,"user":{"login":"Quentin22","id":9071780,"avatar_url":"https://avatars.githubusercontent.com/u/9071780?v=3","gravatar_id":"","url":"https://api.github.com/users/Quentin22","html_url":"https://github.com/Quentin22","followers_url":"https://api.github.com/users/Quentin22/followers","following_url":"https://api.github.com/users/Quentin22/following{/other_user}","gists_url":"https://api.github.com/users/Quentin22/gists{/gist_id}","starred_url":"https://api.github.com/users/Quentin22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Quentin22/subscriptions","organizations_url":"https://api.github.com/users/Quentin22/orgs","repos_url":"https://api.github.com/users/Quentin22/repos","events_url":"https://api.github.com/users/Quentin22/events{/privacy}","received_events_url":"https://api.github.com/users/Quentin22/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T16:34:36Z","updated_at":"2015-10-06T16:34:36Z","body":"Thanks for the Leaflet forum.\r\n\r\nI don't if the problem comes from the library or if I don't know how to use it. ^^\r\n\r\nTo create markers I think I did like you are saying :\r\n - Markers are \"geo\" variable\r\n - Group is \"markers\" variable (MarkerClusterGroup)\r\n\r\nMaybe I have to create my own CSS style for cluster with two state \"cluster\" : blue color and \"clusterError\" : red color ? Is it possible to do something like that ?\r\n"}}