aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2020-11-13 00:47:52 +0100
committerhellekin <hellekin@cepheide.org>2020-11-13 00:47:52 +0100
commit1c1aead78192982e221179de6688b944e5b01bf6 (patch)
treef8dd7dfb19a258d4bb1433263a81ec71c46a0119
parent46ee25fabfc3d2a4493004535774ddea1ad01c91 (diff)
downloadincommon-map-1c1aead78192982e221179de6688b944e5b01bf6.tar.gz
Add compatibilty CSS for leaflet
-rw-r--r--app/javascript/controllers/map_controller.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/controllers/map_controller.js b/app/javascript/controllers/map_controller.js
index 2a2b310..30c1361 100644
--- a/app/javascript/controllers/map_controller.js
+++ b/app/javascript/controllers/map_controller.js
@@ -8,6 +8,7 @@
import { Controller } from "stimulus"
import "leaflet/dist/leaflet.css"
+import 'leaflet-defaulticon-compatibility/dist/leaflet-defaulticon-compatibility.webpack.css'; // Re-uses images from ~leaflet package
import L from "leaflet"