Google Static Maps API allows PNG images files of a map to be made programatically ( example PNG map ).
Using only javascript and a browser, is there a way to embed the PNG map image into a PDF file, along with some text, that the user can download?
From this SO post I found this library pdf.js for converting text and lines into a PDF, but I cant figure out how I can also embed a PNG into the resulting PDF.
addImage(imageData,format,x,y,w,h)但pdf.js当前具有空实现,因此尚无法使用。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.