summaryrefslogtreecommitdiff
path: root/client/map/leaflet.bezier.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/map/leaflet.bezier.js')
-rw-r--r--client/map/leaflet.bezier.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/client/map/leaflet.bezier.js b/client/map/leaflet.bezier.js
index 387e0717..02adbe7f 100644
--- a/client/map/leaflet.bezier.js
+++ b/client/map/leaflet.bezier.js
@@ -1,3 +1,5 @@
+import L from 'leaflet'
+
L.SVG.include({
_updatecurve: function (layer) {
let svg_path = this._curvePointsToPath(layer._points);
@@ -251,4 +253,9 @@ L.bezier = function (config, options) {
};
+function noop() {}
+export {
+ Bezier,
+ noop,
+} \ No newline at end of file