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

Implementing DIN sizes and a Bounding Box #23

Open
TheCartographerDev opened this issue Mar 10, 2020 · 1 comment
Open

Implementing DIN sizes and a Bounding Box #23

TheCartographerDev opened this issue Mar 10, 2020 · 1 comment
Labels

Comments

@TheCartographerDev
Copy link

Hi,

first off all thank you guys for the amazing work with print maps.

I would like to use presets for different print sizes (DIN A4, A3, A2, A1 and like in the offical version an option with mm, I don't need the inch). How do I manage this?

Also I changed the canvas size of the mapbox map to 93vw (93% of the viewport width) because I would like to always show the full size map but if a user is going to pick a print size I would like to load a boundingbox which is showing the actual area which is going to get printed. Is this possible?

Cheers

@mpetroff
Copy link
Owner

If you want to add preset sizes, you'll need to edit both the HTML and the JavaScript.

Your bounding box question is a Mapbox GL JS question, so this isn't the place to ask it.

This repository is for a website, not a library. You're on your own for any modifications.

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

No branches or pull requests

2 participants