{"action":"created","issue":{"url":"https://api.github.com/repos/binhums/ember-cli-mapbox/issues/41","repository_url":"https://api.github.com/repos/binhums/ember-cli-mapbox","labels_url":"https://api.github.com/repos/binhums/ember-cli-mapbox/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/binhums/ember-cli-mapbox/issues/41/comments","events_url":"https://api.github.com/repos/binhums/ember-cli-mapbox/issues/41/events","html_url":"https://github.com/binhums/ember-cli-mapbox/issues/41","id":154985436,"number":41,"title":"Map doesn't center on marker","user":{"login":"GabrielCW","id":15729946,"avatar_url":"https://avatars.githubusercontent.com/u/15729946?v=3","gravatar_id":"","url":"https://api.github.com/users/GabrielCW","html_url":"https://github.com/GabrielCW","followers_url":"https://api.github.com/users/GabrielCW/followers","following_url":"https://api.github.com/users/GabrielCW/following{/other_user}","gists_url":"https://api.github.com/users/GabrielCW/gists{/gist_id}","starred_url":"https://api.github.com/users/GabrielCW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GabrielCW/subscriptions","organizations_url":"https://api.github.com/users/GabrielCW/orgs","repos_url":"https://api.github.com/users/GabrielCW/repos","events_url":"https://api.github.com/users/GabrielCW/events{/privacy}","received_events_url":"https://api.github.com/users/GabrielCW/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-16T08:42:08Z","updated_at":"2016-05-17T17:15:14Z","closed_at":null,"body":"Even when using the recenter option, on a single map marker, the map doesn't center on it (or on the coordinates I entered in center). \r\nI suspect it has to do with map height, because whatever the height of the div, the marker is always the same distance from the top, but I couldn't find any option to set the map dimensions.\r\n\r\nHow could I troubleshoot this/get the map centered?\r\n\r\nHere's the template:\r\n```hbs\r\n<div class=\"row\" style=\"height:200px;background-color:#eee;overflow: hidden;\">\r\n    {{#mapbox-map\r\n        mapId='my_map_id'\r\n        center=(mapbox-coords contact.address.latitude contact.address.longitude)\r\n        zoom=13 as |map|}}\r\n            {{mapbox-marker map=map coordinates=contact.address.coordinates recenter=true}}\r\n    {{/mapbox-map}}\r\n</div>\r\n```"},"comment":{"url":"https://api.github.com/repos/binhums/ember-cli-mapbox/issues/comments/219788130","html_url":"https://github.com/binhums/ember-cli-mapbox/issues/41#issuecomment-219788130","issue_url":"https://api.github.com/repos/binhums/ember-cli-mapbox/issues/41","id":219788130,"user":{"login":"binhums","id":831043,"avatar_url":"https://avatars.githubusercontent.com/u/831043?v=3","gravatar_id":"","url":"https://api.github.com/users/binhums","html_url":"https://github.com/binhums","followers_url":"https://api.github.com/users/binhums/followers","following_url":"https://api.github.com/users/binhums/following{/other_user}","gists_url":"https://api.github.com/users/binhums/gists{/gist_id}","starred_url":"https://api.github.com/users/binhums/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binhums/subscriptions","organizations_url":"https://api.github.com/users/binhums/orgs","repos_url":"https://api.github.com/users/binhums/repos","events_url":"https://api.github.com/users/binhums/events{/privacy}","received_events_url":"https://api.github.com/users/binhums/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T17:15:14Z","updated_at":"2016-05-17T17:15:14Z","body":"Not that I know of, I'll let you know if I have a solution."}}