Releases: Igor-Vladyka/leaflet.browser.print
Releases · Igor-Vladyka/leaflet.browser.print
First full release of a plugin.
Fixed passing correct options for markerclustergroup layer. Moved Mar… …kerClusterGroun out of plugin. Prepared release version.
Stable version with improved page sizing options.
Stable cleaned up version.
Removed all HTML node ids. Instead we should use classNames, for al … …cases except print map container. For print map we add "*-print" id.
Supported new page size logic and custom print modes.
Created auto calculation for all page sizes from A0-A10 to B0-B10.
Added css-grid display options to show additional content on print
Added CSS-GRID(check browser support caniuse.com) display options to show additional content on print.
To add additional printing content (in addition to a map itself) we need to specify content that should be added with a custom selector(by default contentSelector: '[leaflet-browser-print-content]'). Full example here: Demo;
Map print with overlay over all other content
Added map overlay to print a map from any part of the page. Supported all basic leaflet layers.
Basic functionality for full screen map in-browser print.
v0.2-alpha
Basic release for in-browser print support of 4 main print modes:
Map Print Modes
Mode | Description |
---|---|
Portrait | Print currently visual part of the map with Portrait page dimensions |
Landscape | Print currently visual part of the map with Landscape page dimensions |
Auto | Track all active map layers (markers, lines, polygons, etc. ) and tries to fit them in print page in Portrait or Landscape page dimensions |
Custom | Allows you to select rectangle for printing, and then fit it in Portrait or Landscape page dimensions |
Currently 'Custom' mode is not working correctly in all IE browsers.