antirez / antirez/dump1090

Larger Planes and Selection Indication

Đang mở
#159 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C
Star
2.9k
Fork
1.4k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

My local map is pretty busy and I have a problem finding the planes. The selected plane is also not very clear. I doubled the plane size and put a red circle around the selected plane with these modified lines of gmap.html.

/* Give a border to the selected plane. */
if (Selected == plane.hex) {
selhtml = 'border:4px dotted; width: 35px; height: 35px;background-clip: text; border-color: red; border-radius:50% 50% 50% 50%;';
} else {
selhtml = '';
}
he = '

✈️
';
var icon = L.divIcon({html: he, className: 'plane-icon'});
return icon;

Obviously, the font size can be more finely adjusted with pixel sizes (e.g. font-size:30px;) or percentages and the circle can be changed to suite by changing the width and height.

Github don't allow html files to be attached and so I have renamed it gmap.txt

[gmap.txt](https://github.com/antirez/dump1090/files/6017478/gmap.txt)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.