ivmarcos/react-to-pdf

iframe maps are not getting converted to pdf

Opened this issue · 1 comments

<div> <iframe width="100%" height="100%" frameBorder="0" marginHeight="5" marginWidth="3" title="map" scrolling="no" src="https://maps.google.com/maps?width=100%&height=600&hl=en&q=%C4%B0zmir+(My%20Business%20Name)&ie=UTF8&t=&z=14&iwloc=B&output=embed" ></iframe> </div>

I got an iframe component like this, but it isn't getting translated to the pdf and nothing is shown in it's place.
Any workarounds for this would be appreciated.

Hi @siiddhantt, I've taken a look at some related issues in the html2canvas, this seems related: niklasvh/html2canvas#2692. Try setting specific width and height instead of relative size in % to see if it works.