avoid updating the map since it causes flickering

This commit is contained in:
Jakob Ketterl 2023-08-26 00:03:55 +02:00
parent ad54ee2da0
commit 6c84fdbd3f

View file

@ -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;