Here in India people are facing so much trouble due to heavy rainfall and floods, due to a large area and heavy destruction by large volumes of water floods rescue operations are also facing trouble to reach internal locations for rescue operations. Today Google to help out people of Kerala gave a statement to help people stuck in internal flood ridden arear, Google told people to use Pulse Code to rescue operation helpline numbers, as there is also network problem no Internet no Wifi so that using that Pulse Code rescue people would reach out them to help.
In my previous post, we created a Google Map Static API image using a Get URL. In one of my project, there was a requirement of HTML conversion into PDF document. So I wanted to add that Map Image into that PDF document. I used html2canvas and jsPDF libraries for that.
When I was trying to convert an HTML section with Google Static Map Image into the canvas, I faced a strange issue.
Uncaught (in promise) DOMException: Failed to execute ‘toDataURL’ on ‘HTMLCanvasElement’: Tainted canvases may not be exported.