{"action":"created","issue":{"url":"https://api.github.com/repos/SebastianM/angular-google-maps/issues/1339","repository_url":"https://api.github.com/repos/SebastianM/angular-google-maps","labels_url":"https://api.github.com/repos/SebastianM/angular-google-maps/issues/1339/labels{/name}","comments_url":"https://api.github.com/repos/SebastianM/angular-google-maps/issues/1339/comments","events_url":"https://api.github.com/repos/SebastianM/angular-google-maps/issues/1339/events","html_url":"https://github.com/SebastianM/angular-google-maps/issues/1339","id":301876924,"number":1339,"title":"Can't bind more than one map per screen","user":{"login":"Wmitrut","id":5539257,"avatar_url":"https://avatars1.githubusercontent.com/u/5539257?v=4","gravatar_id":"","url":"https://api.github.com/users/Wmitrut","html_url":"https://github.com/Wmitrut","followers_url":"https://api.github.com/users/Wmitrut/followers","following_url":"https://api.github.com/users/Wmitrut/following{/other_user}","gists_url":"https://api.github.com/users/Wmitrut/gists{/gist_id}","starred_url":"https://api.github.com/users/Wmitrut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wmitrut/subscriptions","organizations_url":"https://api.github.com/users/Wmitrut/orgs","repos_url":"https://api.github.com/users/Wmitrut/repos","events_url":"https://api.github.com/users/Wmitrut/events{/privacy}","received_events_url":"https://api.github.com/users/Wmitrut/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-02T19:24:11Z","updated_at":"2018-03-02T21:16:34Z","closed_at":"2018-03-02T21:16:34Z","author_association":"NONE","body":"I need to show multiple maps on the screen (ngFor), first I was having an grey screen problem and I resolved it with _triggerResize();_ but it only changes the first map, it centered the pin, but the second only works after I resize the screen (open console or something like that)\r\n\r\n![image](https://user-images.githubusercontent.com/5539257/36917585-0420b79a-1e36-11e8-8752-53887ad1373e.png)\r\n\r\nI'm using the latest version of AGM and Angular 5, how can I make the resize occurs in the other maps?"},"comment":{"url":"https://api.github.com/repos/SebastianM/angular-google-maps/issues/comments/370054758","html_url":"https://github.com/SebastianM/angular-google-maps/issues/1339#issuecomment-370054758","issue_url":"https://api.github.com/repos/SebastianM/angular-google-maps/issues/1339","id":370054758,"user":{"login":"lazarljubenovic","id":7661457,"avatar_url":"https://avatars3.githubusercontent.com/u/7661457?v=4","gravatar_id":"","url":"https://api.github.com/users/lazarljubenovic","html_url":"https://github.com/lazarljubenovic","followers_url":"https://api.github.com/users/lazarljubenovic/followers","following_url":"https://api.github.com/users/lazarljubenovic/following{/other_user}","gists_url":"https://api.github.com/users/lazarljubenovic/gists{/gist_id}","starred_url":"https://api.github.com/users/lazarljubenovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lazarljubenovic/subscriptions","organizations_url":"https://api.github.com/users/lazarljubenovic/orgs","repos_url":"https://api.github.com/users/lazarljubenovic/repos","events_url":"https://api.github.com/users/lazarljubenovic/events{/privacy}","received_events_url":"https://api.github.com/users/lazarljubenovic/received_events","type":"User","site_admin":false},"created_at":"2018-03-02T21:16:34Z","updated_at":"2018-03-02T21:16:34Z","author_association":"COLLABORATOR","body":"This is not a bug report or a feature request. Bug reports should include a demo with reproduction steps. This is a support request and as such belongs to Stack Overflow. You'll have more chances of finding the answer there, since much more people willing to help visit it.\r\n\r\nAs for our problem, you're probably not calling `triggerResize()` for evey map, but only for the first one. Use `ViewChildren` and `forEach` over the `QueryList` that you get.\r\n\r\nAre you sure you want to go this way? It's terrible for perfomance to load all these maps just to show them so slow. Consider lazy-loading them on user's demand and using simple pictures before that happens."}}
{"actor":{"display_login":"lazarljubenovic"}}