Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐞 [BUG] Maps exported to pdf are not correctly centred #456

Open
3 of 7 tasks
XU-Nuo opened this issue Oct 12, 2024 · 0 comments
Open
3 of 7 tasks

🐞 [BUG] Maps exported to pdf are not correctly centred #456

XU-Nuo opened this issue Oct 12, 2024 · 0 comments

Comments

@XU-Nuo
Copy link

XU-Nuo commented Oct 12, 2024

Check for existing bug reports before submitting.

  • I searched for existing Bug Reports and found no similar reports.

Expected Behavior

Maps exported to pdf render the exactly same view/range as the reading view:
image

Current behaviour

The center of the map is shifted to some direction, and is not marker is out of the range of the map, export using a bigger page size make the marker visiable again:
A4-portrait:
image
A5-landscape:
image

A3-landscape:
image

Reproduction

the test results are generated from a brand new vault with only leaflet installed, the file content is:

---
city:
  - "[[test]]"
location:
  - 31.04723413797611
  - 121.40879449024958

price: $2600
---

```leaflet
id: test
minZoom: 10
maxZoom: 18
coordinates: [[test]]
markerFile: [[test]]
` ``

Which Operating Systems are you using?

  • Android
  • iPhone/iPad
  • Linux
  • macOS
  • Windows

Obsidian Version Check

1.6.7

Plugin Version

6.0.5

Confirmation

  • I have disabled all other plugins and the issue still persists.

Possible solution

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant