grinat / leaflet-simple-map-screenshoter

Leaflet plugin which take screenshot of map
MIT License
71 stars 19 forks source link

Icons with Font Awesome shown as square After taking screenshot #30

Open vip4fun opened 2 years ago

vip4fun commented 2 years ago

Screenshot works fine but element on map that include fontAwesome icons <i class="fa fa-arrow-down" shown as square, which point missing font tough it works fine on the map.

Any suggestions?

(version: Font Awesome 4.7.0)

szaboildi commented 2 years ago

It seems related to this issue in a package leaflet-simple-map-screenshoter is using https://github.com/tsayen/dom-to-image/issues/57

rutikwankhade commented 1 year ago

Screenshot works fine but element on map that include fontAwesome icons <i class="fa fa-arrow-down" shown as square, which point missing font tough it works fine on the map.

Any suggestions?

(version: Font Awesome 4.7.0)

I am also facing the same issue. did you found any workaround this?

arnabadas commented 7 months ago

Refer #44 for fix. Specifically this comment: https://github.com/grinat/leaflet-simple-map-screenshoter/issues/44#issuecomment-1463310321_