From df06577e504e428f5902df6c541dcbc20eaac514 Mon Sep 17 00:00:00 2001 From: liamcottle Date: Thu, 4 Apr 2024 20:55:41 +1300 Subject: [PATCH] add setting to disable map animations --- src/public/index.html | 38 +++++++++++++++++++++++++++++++++++--- 1 file changed, 35 insertions(+), 3 deletions(-) diff --git a/src/public/index.html b/src/public/index.html index 45306bf..a62af2d 100644 --- a/src/public/index.html +++ b/src/public/index.html @@ -1190,6 +1190,17 @@
Sets lat/lng/zoom as query parameters.
+ +
+
+
+ +
+ +
+
Map will animate flying to nodes.
+
+ @@ -1204,7 +1215,7 @@ @@ -1928,7 +1960,7 @@ // fly to node marker const shouldAnimate = animate != null ? animate : true; map.flyTo(nodeMarker.getLatLng(), zoom || getConfigZoomLevelGoToNode(), { - animate: shouldAnimate, + animate: getConfigEnableMapAnimations() ? shouldAnimate : false, }); // open tooltip for node