{"action":"created","issue":{"url":"https://api.github.com/repos/GuillaumeLeclerc/vue-google-maps/issues/48","repository_url":"https://api.github.com/repos/GuillaumeLeclerc/vue-google-maps","labels_url":"https://api.github.com/repos/GuillaumeLeclerc/vue-google-maps/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/GuillaumeLeclerc/vue-google-maps/issues/48/comments","events_url":"https://api.github.com/repos/GuillaumeLeclerc/vue-google-maps/issues/48/events","html_url":"https://github.com/GuillaumeLeclerc/vue-google-maps/issues/48","id":145727772,"number":48,"title":"Fit bounds","user":{"login":"dominikveils","id":8365941,"avatar_url":"https://avatars.githubusercontent.com/u/8365941?v=3","gravatar_id":"","url":"https://api.github.com/users/dominikveils","html_url":"https://github.com/dominikveils","followers_url":"https://api.github.com/users/dominikveils/followers","following_url":"https://api.github.com/users/dominikveils/following{/other_user}","gists_url":"https://api.github.com/users/dominikveils/gists{/gist_id}","starred_url":"https://api.github.com/users/dominikveils/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominikveils/subscriptions","organizations_url":"https://api.github.com/users/dominikveils/orgs","repos_url":"https://api.github.com/users/dominikveils/repos","events_url":"https://api.github.com/users/dominikveils/events{/privacy}","received_events_url":"https://api.github.com/users/dominikveils/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-04-04T15:58:41Z","updated_at":"2016-07-07T15:39:11Z","closed_at":"2016-04-10T10:58:37Z","body":"Hello,\r\nHow can i center the map when dealing with bunch of marker?\r\ni.e I have 3 markers how can i center the map and set the right bounds for them?\r\nI can't call `map`.fitBounds(), 'coz i don't have access to map object itself."},"comment":{"url":"https://api.github.com/repos/GuillaumeLeclerc/vue-google-maps/issues/comments/231117556","html_url":"https://github.com/GuillaumeLeclerc/vue-google-maps/issues/48#issuecomment-231117556","issue_url":"https://api.github.com/repos/GuillaumeLeclerc/vue-google-maps/issues/48","id":231117556,"user":{"login":"GuillaumeLeclerc","id":2017051,"avatar_url":"https://avatars.githubusercontent.com/u/2017051?v=3","gravatar_id":"","url":"https://api.github.com/users/GuillaumeLeclerc","html_url":"https://github.com/GuillaumeLeclerc","followers_url":"https://api.github.com/users/GuillaumeLeclerc/followers","following_url":"https://api.github.com/users/GuillaumeLeclerc/following{/other_user}","gists_url":"https://api.github.com/users/GuillaumeLeclerc/gists{/gist_id}","starred_url":"https://api.github.com/users/GuillaumeLeclerc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuillaumeLeclerc/subscriptions","organizations_url":"https://api.github.com/users/GuillaumeLeclerc/orgs","repos_url":"https://api.github.com/users/GuillaumeLeclerc/repos","events_url":"https://api.github.com/users/GuillaumeLeclerc/events{/privacy}","received_events_url":"https://api.github.com/users/GuillaumeLeclerc/received_events","type":"User","site_admin":false},"created_at":"2016-07-07T15:39:11Z","updated_at":"2016-07-07T15:39:11Z","body":"It's pretty simple. You just need to keep a reference on the <map> element using a v-ref for example.\r\n\r\nAnd when you want to set the center you trigger the `g-fitBounds` on it."}}
{"actor":{"display_login":"GuillaumeLeclerc"}}