| Issue 3550: | Bug: Printing with page breaks - incorrect tiles on next page | |
| 26 people starred this issue and may be notified of changes. | Back to list |
Whenever a (large) map is printed and it involves a page break before or in the middle of the map canvas, the first few map tiles on the part of the map pushed to the page following the page break are wrong. Typically, some tiles appear and they are from the geographic neighbourhood of the correct tiles, but are not spot on. Examples are attached using primarily Chrome printing, but same behaviour is observed in IE 9.0.8, Firefox 5.0.1, Safari 5.1 and Chrome 13.0, however, the issue shows a litte bit different in each browser. In each of the GMap.Print.Bug.x.pdf files notice the top of the maps following a page break. Also notice that the overlays (markers and polylines) are drawn correctly. Only the tiles are wrong. The forced page break example is constructed using the css page-break-before property. It does not occur with the first map, if it fits on the first page, but then only to subsequent maps following page breaks (see GMap.Print.Bug.Chrome.ForcedPageBreak.WholeMap.NoText.pdf). The file GMap.Print.Correct.Chrome.ForcedPageBreak.iFrames.pdf shows how the maps in the example instance should look (map canvases were placed in separate iframes to force print of each map canvas on independent pages, thereby avoiding the issue). Lastly, all the pages used in this example look absolutely fine when displayed in browsers. The issue only ever appears when printing.
Aug 30, 2011
#1
[email protected]
Sep 3, 2011
@jean, one solution is to put the maps on separate html-pages in iframes. In that way the maps get printed in separate pages. It works for me in all abovementioned browsers.
Apr 30, 2014
This is still a problem in Chrome 34. Though it doesn't seem to affect Internet Explorer 10 (or IE 10 running in IE9 mode). Is there a solution that doesn't involve the use of iframes?
Aug 25, 2014
Issue 3693 has been merged into this issue.
Aug 25, 2014
Issue 4263 has been merged into this issue.
Aug 25, 2014
Issue 6905 has been merged into this issue.
Apr 2, 2015
(No comment was entered for this change.)
Status:
Accepted
Labels: Internal-16708160
Jul 23, 2015
Issue 7274 has been merged into this issue.
Sep 23, 2015
Issue 5145 has been merged into this issue. |
|
| ► Sign in to add a comment |