diff options
author | hellekin <hellekin@cepheide.org> | 2021-01-31 19:06:53 +0100 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2021-01-31 20:18:53 +0100 |
commit | 288f97605d0af8b027fbfc16703ce4856176dd8c (patch) | |
tree | d9cb3fec7feac32e02c22aacdc17c8e54930aef3 /package.json | |
parent | fa9e4ea45d75e3e6c72ab51aa6e19b212e25ff60 (diff) | |
download | incommon-map-288f97605d0af8b027fbfc16703ce4856176dd8c.tar.gz |
[FEATURE] Add print button
Using `leaflet-easyprint`, we can add a button to print a current view of the map.
This commit adds the functionality, without customization.
Source: https://github.com/rowanwins/leaflet-easyPrint
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json index cdf02a1..48fd106 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "fork-awesome": "^1.1.7", "leaflet": "^1.7.1", "leaflet-defaulticon-compatibility": "^0.1.1", + "leaflet-easyprint": "^2.1.9", "leaflet-extra-markers": "^1.2.1", "leaflet-providers": "^1.11.0", "leaflet.markercluster": "^1.4.1", |