aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2021-01-31 19:06:53 +0100
committerhellekin <hellekin@cepheide.org>2021-01-31 20:18:53 +0100
commit288f97605d0af8b027fbfc16703ce4856176dd8c (patch)
treed9cb3fec7feac32e02c22aacdc17c8e54930aef3 /package.json
parentfa9e4ea45d75e3e6c72ab51aa6e19b212e25ff60 (diff)
downloadincommon-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.json1
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",