{"action":"opened","issue":{"url":"https://api.github.com/repos/tomchadwin/qgis2web/issues/160","labels_url":"https://api.github.com/repos/tomchadwin/qgis2web/issues/160/labels{/name}","comments_url":"https://api.github.com/repos/tomchadwin/qgis2web/issues/160/comments","events_url":"https://api.github.com/repos/tomchadwin/qgis2web/issues/160/events","html_url":"https://github.com/tomchadwin/qgis2web/issues/160","id":124750754,"number":160,"title":"Leaflet raster fails if no vector layers in map, and extent is \"Fit to layers extent\"","user":{"login":"tomchadwin","id":7840213,"avatar_url":"https://avatars.githubusercontent.com/u/7840213?v=3","gravatar_id":"","url":"https://api.github.com/users/tomchadwin","html_url":"https://github.com/tomchadwin","followers_url":"https://api.github.com/users/tomchadwin/followers","following_url":"https://api.github.com/users/tomchadwin/following{/other_user}","gists_url":"https://api.github.com/users/tomchadwin/gists{/gist_id}","starred_url":"https://api.github.com/users/tomchadwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomchadwin/subscriptions","organizations_url":"https://api.github.com/users/tomchadwin/orgs","repos_url":"https://api.github.com/users/tomchadwin/repos","events_url":"https://api.github.com/users/tomchadwin/events{/privacy}","received_events_url":"https://api.github.com/users/tomchadwin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tomchadwin/qgis2web/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/tomchadwin/qgis2web/labels/Leaflet","name":"Leaflet","color":"addb57"},{"url":"https://api.github.com/repos/tomchadwin/qgis2web/labels/question","name":"question","color":"cc317c"},{"url":"https://api.github.com/repos/tomchadwin/qgis2web/labels/rasters","name":"rasters","color":"ff00ff"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-04T12:23:22Z","updated_at":"2016-01-04T12:23:22Z","closed_at":null,"body":"The initial map bounds are set to the bounds of bounds_group, which contains all vector layers. Rasters are not added to this group because it is a featureGroup. How do we retrieve the bbox of all rasters *and* vectors in the map?"}}