Printing map

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

    Posted 27 Sep Link to this post

    Hello,

    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.

     

    Thanks!

  2. Rumen
    Admin
    Rumen avatar
    12851 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
    }).then(function(group){
      drawing.pdf.saveAs(group, "filename.pdf");
    });



    Regards,
    Rumen
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  3. Kendo UI is VS 2017 Ready
Back to Top