I am trying to find a solution to create a pdf file with open layers.
I am having a div containing WMTS tiles created with openlayers, with which I wanted to create a pdf file to my users. I have tried exloring over the internet but found no solution.
<body>
<div id="mapContainer" />
</body>
Here in mapContainer all my openlayers WMTS tiles will be created and using that tiles I need to create a pdf file that will directly be downloaded into user PC.
I have used window.print()
earlier but it is truncating some of the map data which is visible to user. Please provide any possible solution.
I remember that Openlayers3 has provided a print PDF example(Export PDF example).