{"action":"opened","issue":{"url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1470","labels_url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1470/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1470/comments","events_url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1470/events","html_url":"https://github.com/angular-ui/angular-google-maps/issues/1470","id":104778330,"number":1470,"title":"Add markers objects dynamically","user":{"login":"JosepAlacid","id":6597294,"avatar_url":"https://avatars.githubusercontent.com/u/6597294?v=3","gravatar_id":"","url":"https://api.github.com/users/JosepAlacid","html_url":"https://github.com/JosepAlacid","followers_url":"https://api.github.com/users/JosepAlacid/followers","following_url":"https://api.github.com/users/JosepAlacid/following{/other_user}","gists_url":"https://api.github.com/users/JosepAlacid/gists{/gist_id}","starred_url":"https://api.github.com/users/JosepAlacid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JosepAlacid/subscriptions","organizations_url":"https://api.github.com/users/JosepAlacid/orgs","repos_url":"https://api.github.com/users/JosepAlacid/repos","events_url":"https://api.github.com/users/JosepAlacid/events{/privacy}","received_events_url":"https://api.github.com/users/JosepAlacid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-03T20:46:26Z","updated_at":"2015-09-03T20:46:26Z","closed_at":null,"body":"I would like to have more than one \"ui-gmap-markers\" object in a \"ui-gmap-google-map\" to manage diferent types.\r\nI've tried to add several \"ui-gmap-markers\" inside a \"ui-gmap-google-map\" object, but I need to do it dynamically to get something like this:\r\n```\r\n<ui-gmap-google-map options=\"map.options\">\r\n    \r\n    <ui-gmap-markers models='Type1' coords=\"'self'\">\r\n    </ui-gmap-markers>\r\n\r\n    <ui-gmap-markers models='Type2' coords=\"'self'\">\r\n    </ui-gmap-markers>\r\n\r\n    <ui-gmap-markers models='Type3' coords=\"'self'\">\r\n    </ui-gmap-markers>\r\n\r\n    ......\r\n    ......\r\n    <ui-gmap-window show=\"map.window.show\" coords=\"mipHome.map.window.model\">\r\n    </ui-gmap-window>\r\n</ui-gmap-google-map>\r\n```\r\nDepending on user selection I'll have to place diferent types, so I need to do it thru code.\r\nAnyway thanks for your excellent work!\r\nJosep."}}