DEV Community

arthur2017-ui
arthur2017-ui

Posted on

Is there a way to capture a Leaflet map (with geometric features) into a PDF, without encountering offset issues?

I want to generate a pdf of a leaflet map that should contain geometric entities rectangle circle and customized entities created with Leaflet Draw, without any position offset
Are there any specific libraries or approaches to handle capturing entities in their exact position?

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay