hersle / leaflet-route-print Goto Github PK
View Code? Open in Web Editor NEWA Leaflet plugin for easy client-side printing of routes
Home Page: https://hersle.github.io/leaflet-route-print/
License: MIT License
A Leaflet plugin for easy client-side printing of routes
Home Page: https://hersle.github.io/leaflet-route-print/
License: MIT License
The readme says:
var map = L.map("map", {preferCanvas: true}); // IMPORTANT: preferCanvas must be true!
This is a bit of a no-go for me. I tried that before and reverted because moving vectors was laggy. It can also have unintended side effects for other plugins.
What is preferCanvas
needed for?
leaflet-image doesn't really require that:
For Leaflet >= 1.0.0: You must set
renderer: L.canvas()
for any layer that you want included in the generated image.
Hi all! :)
I tried the leaflet-route-print demo and I've obtained this PDF with the default settings:
Is this the correct behavior? I've tested in Mozilla Firefox 96 and in Chromium 98 with same results.
Thank you so much for this clarification! :)
Is it possible to print two different route at the same time?
if so how?
Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.