From 6c84fdbd3f1aaf606e16c6687d836abe15fadc74 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Sat, 26 Aug 2023 00:03:55 +0200 Subject: [PATCH] avoid updating the map since it causes flickering --- htdocs/map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/map.js b/htdocs/map.js index c8ae91b7..1263c06e 100644 --- a/htdocs/map.js +++ b/htdocs/map.js @@ -143,13 +143,13 @@ $(function(){ marker.addListener('click', function () { showMarkerInfoWindow(update.source, pos); }); + marker.setMap(map); markers[key] = marker; } } if (!marker) return; marker.setOptions($.extend({ position: pos, - map: map, title: sourceToString(update.source) }, aprsOptions, getMarkerOpacityOptions(update.lastseen) )); marker.lastseen = update.lastseen;