Skip to content

BGDIINF_SB-2708: Fixed map popover printing.#316

Merged
ltshb merged 1 commit intodevelopfrom
bug-BGDIINF_SB-2708-html-print
Nov 30, 2022
Merged

BGDIINF_SB-2708: Fixed map popover printing.#316
ltshb merged 1 commit intodevelopfrom
bug-BGDIINF_SB-2708-html-print

Conversation

@ltshb
Copy link
Contributor

@ltshb ltshb commented Nov 30, 2022

@ltshb ltshb requested a review from pakb November 30, 2022 08:34
@github-actions github-actions bot added the bug label Nov 30, 2022
Copy link
Contributor

@pakb pakb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch

},
printContent() {
promptUserToPrintHtmlContent(this.$refs.mapPopoverContent.outerHTML)
promptUserToPrintHtmlContent('mapPopoverContent')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would maybe also change https://github.com/geoadmin/web-mapviewer/blob/develop/src/utils/print.js
at least update the JSDoc so that it is clear we can also give a HTML ID here (and not necessarily a HTMLElement as stated in the doc)

@ltshb ltshb force-pushed the bug-BGDIINF_SB-2708-html-print branch from f28c59f to 20c73f7 Compare November 30, 2022 11:40
@ltshb ltshb force-pushed the bug-BGDIINF_SB-2708-html-print branch from 20c73f7 to e7cee5d Compare November 30, 2022 12:43
@ltshb ltshb merged commit 14ace9a into develop Nov 30, 2022
@ltshb ltshb deleted the bug-BGDIINF_SB-2708-html-print branch November 30, 2022 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants