We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38e4421 commit 8c4a8f5Copy full SHA for 8c4a8f5
js/tracker.js
@@ -1656,6 +1656,12 @@ function addPosition(position) {
1656
},
1657
title: vcallsign,
1658
});
1659
+
1660
+ google.maps.event.addDomListener(marker, 'click', function() {
1661
+ $(".row.active").removeClass('active');
1662
+ $(".vehicle"+vehicles[marker.title].uuid).addClass('active');
1663
+ });
1664
1665
gmaps_elements.push(marker);
1666
marker.shadow = marker_shadow;
1667
marker.balloonColor = (vcallsign == "PIE") ? "rpi" : balloon_colors_name[color_index];
0 commit comments