- Module created
- Fixed README details
- Removed folder "dist" and "lib" from .gitignore.
- Url links added to layer attributions
- Fixed bug on
showPrintSettingsModal
method
- Changed print button text
- Moved two devDependenceis to dependencies
- Added SVG support
- Added customizable
imperial
andmetric
units system - Added customizable date format
- Added image MIME types to export
- Fixed deepObjectAssign helper (bug on merging configuration arrays)
- Updated example screenshot
- Fixed worker error on compiling lib module with webpack
- Improved worker version management and PDF.js version on example
- Improved typescript and rollup configuration
- Added "watch" script
- Updated dependencies
- Fixed minor css issues
- Excluded some folders from npm
- Added Source Maps
- Fixed overlapping elements on small paper prints with long urls
- Beter css builds
- Better watch mode
- Added .gitattributes
- Typescript improvements
- Changed separator on attributions
- Remove unnecessary max-width on texts
- Fix bug when printing multiples times on protrait mode
- Ol 7 compatibility
- Updated dependencies
- Updated CDNs in examples
- Minor fix on createPdf public function
- Moved modal-vanilla to peer dependencies
- Updated dependencies
- Improved README
- Added LICENSE FILE
- Removed "browser" attribute from package.json
- Added "type" module attribute to package.json
- Removed index.js
- Updated dependencies
- Improved rollup and ts configs
- Added ".js" extension on imports to work better with webpack 5 default's config
- Lib is builded with es2017 target (downgraded from esnext)
- Removed babel deps
- Added header to dist files
- Addded WMS Legends support
- Added extraInfo checkboxes
- Allow printing without safe margins (by default no margin is added)
- Improved
paperMargin
option (added customazable per margin size) - Improved DPI accuracy
- Changed svg icon
- Fixed wrong scale transformation on exporting to image formats (now respecting the DPI)
- Improved downloading and processing status info
- Added customizable loader option
- Removed
description
attribute from insidemapElements
option (breaking change) - Removed some styles attributes from inside
watermark
option (breaking change) - Added multiples customization options inside
style
attribute - Added
showControlBtn
configuration to allow disable the control button - Refactored using setMap method (and fixed error while using
createPdf
before the modal was displayed) - Removed 72 DPI as a default option
- Added
createPdf
button to the example - Replaced dependency
dom-to-image-improved
withdom-to-image-more
- Fixed compass not showing on firefox because of missin width and height svg attributes
- Updated to Ol8
- Updated dev dependencies
- Converted css to scss
- Added reframe ROI functionality to improve the control of the region of interest
- Removed scale parameter from the constructor and the settings modal
- Removed some forgotten console.log
- Fixed bug when legends is activated and no wms is on the map
- Fixed padding when watermark subtitle is largen than title
- Improved attributions functionality. Now extracts the data from the layers and not form the ui control
- Count loaded tiles and images in all layers (not only wms)
- Watermark logo now accepts non square images
- Added watermark logo in the example
- Added controls (zoom and rotation) on the reframe instance
- Improved css style in prinFields using flex
- Updated screenshots
- Small css fixes
- Restore contrain resolution view if reframe is cancelled
- Improved pointer events and stop event overlay
- Fixed reframe position when map is not full height and width
- Added some transparency to the reframe control buttons
- Some refactoring
- Removed
dom-to-image-more
dependency - Improved README
- Fixed overview canvas visible in the final export (bug introduced in 2.1.0)
- Fixed bug with contraint resolution being restored before time (if it was enabled)
- Improved example