bubkoo / html-to-image

✂️ Generates an image from a DOM node using HTML5 canvas and SVG.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue when creating image of google maps

da-saiyam-shah opened this issue · comments

I am using google maps, and drawing some shapes on maps like Circle, Polygon etc.
When I try to capture 1st time, it works perfectly, but when I do it second time, it is not giving proper screenshot.

Expected Behavior

Should capture proper screenshot even on multiple attempts.

When I capture 1st time.
GeoMapping

But when I capture 2nd time?
GeoMapping (1)

Also, if I reload the page, it will work 1st time, 2nd time it will not work.

commented

👋 @da-saiyam-shah

Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.

We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

Run into the same issue