Printing map

2 posts, 0 answers
  1. Simon
    Simon avatar
    2 posts
    Member since:
    Jan 2016

    Posted 27 Sep Link to this post


    is there any way to resize the map to a fixed size (e.g. the size of an A4-paper), before printing.
    Maybe with help of "@media print" CSS, or by using javascript.

    All the solutions I have tried ends up with cropping just the top left corner of the map.



  2. Rumen
    Rumen avatar
    12788 posts

    Posted 27 Sep Link to this post

    Hi Simon,

    Have you tried to scale the page as shown in this help article: Scaling, i.e.

    drawing.drawDOM("#content", {
      paperSize: "A4",
      margin: "2cm",
      scale: 0.8
      drawing.pdf.saveAs(group, "filename.pdf");

    Telerik by Progress
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
Back to Top