{"action":"created","issue":{"url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/1648","repository_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf","labels_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/1648/labels{/name}","comments_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/1648/comments","events_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/1648/events","html_url":"https://github.com/wkhtmltopdf/wkhtmltopdf/issues/1648","id":31638812,"number":1648,"title":"Map tiles glitch with overflow hidden","user":{"login":"jfrankl","id":1809908,"avatar_url":"https://avatars.githubusercontent.com/u/1809908?v=3","gravatar_id":"","url":"https://api.github.com/users/jfrankl","html_url":"https://github.com/jfrankl","followers_url":"https://api.github.com/users/jfrankl/followers","following_url":"https://api.github.com/users/jfrankl/following{/other_user}","gists_url":"https://api.github.com/users/jfrankl/gists{/gist_id}","starred_url":"https://api.github.com/users/jfrankl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfrankl/subscriptions","organizations_url":"https://api.github.com/users/jfrankl/orgs","repos_url":"https://api.github.com/users/jfrankl/repos","events_url":"https://api.github.com/users/jfrankl/events{/privacy}","received_events_url":"https://api.github.com/users/jfrankl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2014-04-16T12:55:20Z","updated_at":"2016-07-18T19:32:36Z","closed_at":null,"body":"I am running into a glitch while using wkhtmltopdf to create a PDF from a page that contains multiple leaflet maps. It seems that at page breaks, the overflow: hidden property that hides the extra map tiles is being ignored, resulting in a wider block of extra and overlapping map. See the screen shot below or [the entire PDF](http://www.scribd.com/doc/218588510/test-pdf).\r\n\r\n![map-overflow-glitch](https://cloud.githubusercontent.com/assets/1809908/2719484/b7db22f2-c561-11e3-836b-fcdf2a9bc910.png)\r\n\r\nI am using wkhtmltopdf 0.12.0 with the command:\r\n\r\n```wkhtmltopdf map.html test.pdf```\r\n\r\nDoes anyone have a fix for this type of issue? The closest post I could find about it is [from three years ago](https://code.google.com/p/wkhtmltopdf/issues/detail?id=518). The solutions it offers—regenerating the maps as images or using iframes—are not ideal. While my example has maps with one consistent height, the final product will need to have maps of variable heights.\r\n\r\nSource: https://gist.github.com/jfrankl/475a2a29f313813e8dc9\r\nJsbin: http://jsbin.com/wakijuhu/\r\nOutput: http://www.scribd.com/doc/218588510/test-pdf"},"comment":{"url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/comments/233433646","html_url":"https://github.com/wkhtmltopdf/wkhtmltopdf/issues/1648#issuecomment-233433646","issue_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/1648","id":233433646,"user":{"login":"amenk","id":1087128,"avatar_url":"https://avatars.githubusercontent.com/u/1087128?v=3","gravatar_id":"","url":"https://api.github.com/users/amenk","html_url":"https://github.com/amenk","followers_url":"https://api.github.com/users/amenk/followers","following_url":"https://api.github.com/users/amenk/following{/other_user}","gists_url":"https://api.github.com/users/amenk/gists{/gist_id}","starred_url":"https://api.github.com/users/amenk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amenk/subscriptions","organizations_url":"https://api.github.com/users/amenk/orgs","repos_url":"https://api.github.com/users/amenk/repos","events_url":"https://api.github.com/users/amenk/events{/privacy}","received_events_url":"https://api.github.com/users/amenk/received_events","type":"User","site_admin":false},"created_at":"2016-07-18T19:32:36Z","updated_at":"2016-07-18T19:32:36Z","body":"Does anybody have a solution for leaflet?\r\n   \r\n   .leaflet-map div {\r\n       transform: none !important;\r\n   }\r\n\r\ndoes not work for me"}}
{"actor":{"display_login":"amenk"}}