--- layout: example.html title: Print to scale example shortdesc: Example of printing a map to a specified scale. docs: > Example of printing a map to a specified scale. The print is exported as a PDF using the jsPDF library. Unlike the Export PDF example the on screen map is only used to set the center and rotation. The extent printed depends on the scale and page size. To print the scale bar and attributions the example uses the dom-to-image-more library. Due to browser limitations and restrictions Internet Explorer and Safari are not supported. tags: "print, printing, scale, scaleline, export, pdf" resources: - https://unpkg.com/dom-to-image-more@2.8.0/dist/dom-to-image-more.min.js - https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.5.3/jspdf.min.js ---
Page size
Resolution
Scale