{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1202","labels_url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1202/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1202/comments","events_url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1202/events","html_url":"https://github.com/angular-ui/angular-google-maps/issues/1202","id":59987702,"number":1202,"title":"Question : Change title on cluster","user":{"login":"PierreBrisorgueil","id":6069599,"avatar_url":"https://avatars.githubusercontent.com/u/6069599?v=3","gravatar_id":"","url":"https://api.github.com/users/PierreBrisorgueil","html_url":"https://github.com/PierreBrisorgueil","followers_url":"https://api.github.com/users/PierreBrisorgueil/followers","following_url":"https://api.github.com/users/PierreBrisorgueil/following{/other_user}","gists_url":"https://api.github.com/users/PierreBrisorgueil/gists{/gist_id}","starred_url":"https://api.github.com/users/PierreBrisorgueil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PierreBrisorgueil/subscriptions","organizations_url":"https://api.github.com/users/PierreBrisorgueil/orgs","repos_url":"https://api.github.com/users/PierreBrisorgueil/repos","events_url":"https://api.github.com/users/PierreBrisorgueil/events{/privacy}","received_events_url":"https://api.github.com/users/PierreBrisorgueil/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular-ui/angular-google-maps/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-03-05T17:43:43Z","updated_at":"2015-03-27T14:58:58Z","closed_at":null,"body":"Hi, I have just a small question. I'm currently trying to display on a cluster, names of the markers it contains.\r\n\r\nFor that I just tried to change the title on mouseover :\r\n\r\n\t\t\tclusterEvents: {\r\n\t\t\t\tmouseover: function(cluster, clusterModels) {\r\n\t\t\t\t\tvar title = \"\";\r\n\t\t\t\t\t_.each(clusterModels, function(marker) {\r\n\t\t\t\t\t\ttitle = title + marker.nom + \"; \";\r\n\t\t\t\t\t});\r\n\t\t\t\t\tcluster.markerClusterer_.title_ = title;\r\n\t\t\t\t\tconsole.log(\"Cluster Models: clusterModels: \", cluster);\r\n\t\t\t\t}\r\n\t\t\t},\r\n\r\nThis works, but with a bug , I have to move the map or zoom in order to actualize data , that's normal. it's probably not the good way. \r\n\r\n- So  it's possible to initialize the titles to different values ​​at the loading ?\r\n\r\n- Or it's possible to initialize a window on mouseover, and close it on mouse out ? because the position is known, this would make a window template, probably the best solution if we have lot of name in the cluster. I don't find how to pop a window on this event, probably with your example of \"<!--WINDOWS without markers-->\".\r\n\r\nBut how to close it at the mouseout ? I have some problem with this second part. On all my windows i have a link who show an angular-strap aside. I still have not arrived to close windows after the appiration of this aside. \r\n\r\nthank you for the advice and sorry for my english ;), if I find the solution I 'll post here.\r\n"},"comment":{"url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/comments/86964724","html_url":"https://github.com/angular-ui/angular-google-maps/issues/1202#issuecomment-86964724","issue_url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1202","id":86964724,"user":{"login":"nmccready","id":583593,"avatar_url":"https://avatars.githubusercontent.com/u/583593?v=3","gravatar_id":"","url":"https://api.github.com/users/nmccready","html_url":"https://github.com/nmccready","followers_url":"https://api.github.com/users/nmccready/followers","following_url":"https://api.github.com/users/nmccready/following{/other_user}","gists_url":"https://api.github.com/users/nmccready/gists{/gist_id}","starred_url":"https://api.github.com/users/nmccready/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmccready/subscriptions","organizations_url":"https://api.github.com/users/nmccready/orgs","repos_url":"https://api.github.com/users/nmccready/repos","events_url":"https://api.github.com/users/nmccready/events{/privacy}","received_events_url":"https://api.github.com/users/nmccready/received_events","type":"User","site_admin":false},"created_at":"2015-03-27T14:58:58Z","updated_at":"2015-03-27T14:58:58Z","body":"@leodonny use scope.$evalAsync() or wrap your call in $timeout they do the same thing but are more efficient than $apply()."}}