Skip to content

Commit

Permalink
set background color to null in img download
Browse files Browse the repository at this point in the history
  • Loading branch information
atalyaalon committed Oct 22, 2024
1 parent 97e6840 commit e8056bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/services/to-image.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const usingHtml2Canvas = (fileName: string, widgetElement: HTMLElement, scale: n
useCORS: true, // to allow loading maps
imageTimeout: 3000,
scale,
backgroundColor:null,
onclone: (el) => removeMapControllers(el),
})
.then(function (canvas) {
Expand Down

0 comments on commit e8056bf

Please sign in to comment.