Got it. I was thinking that the icon scaled up/down when you zoomed in/out, but that might have been some other mod I’ve seen along the way. If there is a way to scale it dynamically, that would be awesome as when you are zoomed out to see all the range rings, the wingspan is about 60 miles wide
I added a test page that shows all the markers defined, may be helpful if you’re adding your own. see test/markers_test.html
If you’re taking requests, I would put one in for Cessna Caravan. There is a lot of traffic mostly from FedEx. The actual planes look much different from the current icon to me. But I wonder if an updated icon would make that much difference.

If you’re taking requests, I would put one in for Cessna Caravan. There is a lot of traffic mostly from FedEx. The actual planes look much different from the current icon to me. But I wonder if an updated icon would make that much difference.
Sure can do, have got a few more coming, tweaked the 787, looks a bit tidier now, got a 747 as well. Got a few light aircraft to do, Caravan can be one.

I added a test page that shows all the markers defined, may be helpful if you’re adding your own. see test/markers_test.html
Are some of these icons overly large for anyone else? I’m on OS X with a hi-res display, not sure if that is causing the problem? Notably the A388, B77X, and A5 seem larger than all the rest.
See above. Most of them are to scale. Some icons look larger because the planes are larger. The wingspan of an A380 (around 80m) really is >2x the wingspan of a 737 (around 35m).
I am slowly reworking the scales in favor of useful icons rather than correct scale but it is a bit of a juggling act to keep the relative size order right while doing that.
This doesn’t really have to do with shapes. However, it does have to do with the marker colors. The colors are set according to altitude, for the most part, so I decided to create upintheair lines for 4000 feet, and multiples of 10000 up to 50000. Furthermore, I colored them roughly the same color as the markers would be for that altitude. The result is a set of rings that show the outer limit that we would expect to find markers of that color. Markers of that color found outside the rings are likely from TIS-B data. I also lightened the circles from black.
http://victorspictures.com/img/s7/v157/p355656803-5.jpg
By request:
Cessna Caravan
https://dl.dropboxusercontent.com/u/50785283/CessnaCaravan.JPG
var _cessna_caravan_svg =
“M 30.5,4.125 30.875,3 31.125,2.375 31.5,2 31.875,2.375 32.125,3 32.5,4.125 33.25,4.375 33.625,4.875 l 0.625,2.5 0.375,2.375 0.25,3.25 0,2.5 26.625,1.25 0.375,1.5 0,1.625 -0.25,1.625 -26.75,1.75 L 34.375,29 33.5,35.25 32.875,39 43.5,40.125 43.5,43 32.5,43.75 31.75,44 31.5,45.25 31.25,44 30.5,43.75 19.5,43 19.5,40.125 30.125,39 29.5,35.25 28.625,29 l -0.5,-5.75 -26.75,-1.75 -0.25,-1.625 0,-1.625 0.375,-1.5 26.625,-1.25 0,-2.5 0.25,-3.25 0.375,-2.375 0.625,-2.5 0.375,-0.5 z”;
And for good measure:
Cessna 172
https://dl.dropboxusercontent.com/u/50785283/Cessna172.JPG
var _cessna_172_svg =
“M 30.5,4 30.875,3 31.125,2.375 31.5,2 31.875,2.375 32.125,3 32.5,4 l 0.75,0.125 0.625,0.5 0.125,0.625 0.5,4.25 0.125,3 11.5,0 15.5,0.75 0.625,0.5 0.25,0.75 0,5 -16.5,2 -11.5,0 -2,15.875 8.25,1.5 0.5,0.375 0.125,0.375 -0.125,3 -0.125,0.375 -0.375,0.25 -7.875,1 -1,-2.25 -0.25,4.75 -0.125,0.125 -0.125,-0.125 -0.25,-4.75 -1,2.25 -7.875,-1 -0.375,-0.25 -0.125,-0.375 -0.125,-3 0.125,-0.375 0.5,-0.375 8.25,-1.5 -2,-15.875 -11.5,0 -16.5,-2 0,-5 0.25,-0.75 0.625,-0.5 15.45,-0.75 11.55,0 0.125,-3 0.5,-4.25 0.125,-0.625 0.625,-0.5 z”;

See above. Most of them are to scale. Some icons look larger because the planes are larger. The wingspan of an A380 (around 80m) really is >2x the wingspan of a 737 (around 35m).
I am slowly reworking the scales in favor of useful icons rather than correct scale but it is a bit of a juggling act to keep the relative size order right while doing that.
Thanks for this. If they scaled proportionately (well probably not proportionately), that would solve the issue (I’m not sure how to do that tho). Basically at 4x zoom it is to scale, but at 1x zoom it is 1/3 (1/4 or whatever “looks” right).

Thanks for this. If they scaled proportionately (well probably not proportionately), that would solve the issue (I’m not sure how to do that tho). Basically at 4x zoom it is to scale, but at 1x zoom it is 1/3 (1/4 or whatever “looks” right).
Yeah, I am experimenting with this. It can’t be proportional to the map scale (the aircraft would be invisible at any interesting scale) but using a lower exponential law seems to work OK, at lower zooms the icons shrink so they overlap less and at higher zooms you can see more detail.

usafpride:
Thanks for this. If they scaled proportionately (well probably not proportionately), that would solve the issue (I’m not sure how to do that tho). Basically at 4x zoom it is to scale, but at 1x zoom it is 1/3 (1/4 or whatever “looks” right).
Yeah, I am experimenting with this. It can’t be proportional to the map scale (the aircraft would be invisible at any interesting scale) but using a lower exponential law seems to work OK, at lower zooms the icons shrink so they overlap less and at higher zooms you can see more detail.
As long as you’re fiddling with that, I’d suggest doing some z-axis logic. Perhaps it could be as simple as ordering the aircraft in order of altitude so that higher ones are drawn over lower ones. Somehow it looks weird when a plane about to land passes right over one at 40,000 feet.
Just putting finishing touches on a new set of Boeings, have improved my process to get a more accurate graphic and using “rounder” numbers (1/10s of a point instead of 1/8s, which given me smaller numbers and slightly more resolution, not sure why I didn’t do that in the first place!) now so the code is still quite simple relative to some of the originals in the PiAware 3.0.3 code.
Have played around with using curves but found the code was simpler with multiple straight lines instead of curves. An example:
Old 777-300:
“m 31.875,0.5 0.25,0 0.375,0.25 0.75,1.125 0.875,2.625 0.625,3 0,16 4.25,3 -0.25,-0.875 0,-1.75 0.25,-1.75 2.625,0 0.25,1.75 0,1.75 -0.25,1 -0.875,1.125 17.25,11.875 0.25,1.375 -16.75,-6.125 -6.75,-0.5 0,15 -0.5,3.25 -0.5,1.75 7.875,6.625 -0.125,1.75 -8.625,-3 -0.875,2.625 -0.875,-2.625 -8.625,3 -0.125,-1.75 7.875,-6.625 -0.5,-1.75 -0.5,-3.25 0,-15 -6.75,0.5 -16.75,6.125 0.25,-1.375 17.25,-11.875 -0.875,-1.125 -0.25,-1 0,-1.75 0.25,-1.75 2.625,0 0.25,1.75 0,1.75 -0.25,0.875 4.25,-3 0,-16 0.625,-3 0.875,-2.625 0.75,-1.125 z”;
New 777-300LR:
“m 31.9,0.1 0.2,0 0.2,0.1 0.3,0.3 0.5,0.8 0.7,1.7 0.5,2 0.3,2.5 0,15 0.3,0.6 0.5,0.6 3.3,2.2 -0.2,-1.1 0,-1.6 0.2,-1.4 0.1,-0.2 3,0 0.1,0.2 0.2,1.4 0,1.6 -0.2,1.4 -0.4,0 -0.4,1.3 17.3,11.4 1.3,1.8 0,0.6 -1.3,-0.8 -9.6,-3.3 -0.1,0.6 -0.1,0.2 -0.1,-0.2 -0.1,-0.7 -4.2,-1.4 -0.1,0.6 -0.1,0.2 -0.1,-0.2 -0.1,-0.7 -2.5,-0.8 -1.8,0 -0.1,0.7 -0.1,0.2 -0.1,-0.2 -0.1,-0.7 -4.5,0 0,14.9 -0.2,1.9 -0.7,3.8 7.6,6.2 0.1,0.7 0,0.7 -0.1,0.7 -8.5,-3.1 -0.2,0.4 -0.5,1.8 -0.2,0 -0.5,-1.8 -0.2,-0.4 -8.5,3.1 -0.1,-0.7 0,-0.7 0.1,-0.7 7.6,-6.2 -0.7,-3.8 -0.2,-1.9 0,-14.9 -4.5,0 -0.1,0.7 -0.1,0.2 -0.1,-0.2 -0.1,-0.7 -1.8,0 -2.5,0.8 -0.1,0.7 -0.1,0.2 -0.1,-0.2 -0.1,-0.6 -4.2,1.4 -0.1,0.7 -0.1,0.2 -0.1,-0.2 -0.1,-0.6 -9.6,3.3 -1.3,0.8 0,-0.6 1.3,-1.8 17.3,-11.4 -0.4,-1.3 -0.4,0 -0.2,-1.4 0,-1.6 0.2,-1.4 0.1,-0.2 3,0 0.1,0.2 0.2,1.4 0,1.6 -0.2,1.1 3.3,-2.2 0.5,-0.6 0.3,-0.6 0,-15 0.3,-2.5 0.5,-2 0.7,-1.7 0.5,-0.8 0.3,-0.3 z”;
Old and new side by side:
https://dl.dropboxusercontent.com/u/50785283/777-300-Old.jpg https://dl.dropboxusercontent.com/u/50785283/777-300-New.jpg
I have also calculated the scale for all the new drawings, in this case the new 777-300LR is 1.16 meters per point.
Shall I chuck these in a new thread or right here when done?
Here we go my new Boeings, they models I have chosen are based on what I see in the skies around NZ.
//737 Series
//737-300 - Scale 0.61 Meters/point
https://dl.dropboxusercontent.com/u/50785283/B733.png
var _b733 = {
key: “b733”,
scale: 0.61,
size: [64, 64],
anchor: [32, 32],
path: “m 32,4.7 0.3,0.1 0.8,1.2 0.9,3.1 0.6,3.1 0.5,5.2 0,6.9 3.6,2.7 -0.2,-1.5 0,-1.5 0.1,-1.2 0.2,-0.4 2.8,0 0.2,0.4 0.1,1.2 0,1.5 -0.4,2.2 -0.3,0 -0.1,0.9 14,7.7 0.4,0.4 0.2,0.7 0,1.5 -8.3,-2.4 -0.1,0.4 -0.2,0.2 -0.2,-0.2 -0.1,-0.5 -3.7,-1.1 -0.1,0.4 -0.2,0.2 -0.2,-0.2 -0.1,-0.5 -2,-0.6 0,1 -0.1,0.5 -0.1,0.1 -0.4,0 -0.1,-0.1 -0.1,-0.5 0,-1.3 -4.6,0 0,7.7 -0.1,2.8 -0.6,3.7 -0.6,3 0.1,0.4 8.5,5.9 0,1.8 -10,-2.5 -0.2,0.7 -0.1,0.8 -0.1,0.4 -0.1,-0.4 -0.1,-0.8 -0.2,-0.7 -10,2.5 0,-1.8 8.5,-5.9 0.1,-0.4 -0.6,-3 -0.6,-3.7 -0.1,-2.8 0,-7.7 -4.6,0 0,1.3 -0.1,0.5 -0.1,0.1 -0.4,0 -0.1,-0.1 -0.1,-0.5 0,-1 -2,0.6 -0.1,0.5 -0.2,0.2 -0.2,-0.2 -0.1,-0.4 -3.7,1.1 -0.1,0.5 -0.2,0.2 -0.2,-0.2 -0.1,-0.4 -8.3,2.4 0,-1.5 0.2,-0.7 0.4,-0.4 14,-7.7 -0.1,-0.9 -0.3,0 -0.4,-2.2 0,-1.5 0.1,-1.2 0.2,-0.4 2.8,0 0.2,0.4 0.1,1.6 0,1.1 -0.2,1.5 3.6,-2.8 0,-6.8 0.5,-5.2 L 30,9.1 31,6 31.7,4.8 z”
};
//737-400 - Scale 0.61 Meters/point
https://dl.dropboxusercontent.com/u/50785283/B734.png
var _b734 = {
key: “b734”,
scale: 0.61,
size: [64, 64],
anchor: [32, 32],
path: “m 32,3 0.3,0.1 0.8,1.2 0.9,3.1 0.6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 2.7,0 0.2,0.4 0.1,1.2 0,1.5 -0.3,2.3 -0.4,0 -0.1,0.3 1.8,1 15.9,8.3 0.9,0.8 0.5,1.2 0,1.9 -0.4,-0.9 -0.7,-0.9 -11.4,-3.6 -0.1,0.8 -0.3,0.7 -0.3,-0.7 -0.1,-1 -4.2,-1 -0.1,0.8 -0.3,0.7 -0.3,-0.7 -0.1,-1 -1.2,-0.2 -0.6,0 -0.1,0.9 -0.3,0.7 -0.3,-0.7 -0.1,-0.9 -3.5,0 0,6.9 -0.1,2.7 -0.3,2.5 -0.7,2.4 9.1,7 0,2 -10.7,-3.2 -0.3,1 -0.2,0 -0.3,-1 -10.7,3.2 0,-2 9.2,-7 -0.7,-2.4 -0.4,-2.5 -0.1,-2.7 0,-6.9 -3.5,0 -0.1,0.9 -0.3,0.7 -0.3,-0.7 -0.1,-0.9 -0.6,0 -1.2,0.2 -0.1,1 -0.3,0.7 -0.3,-0.7 -0.1,-0.8 -4.2,1 -0.1,1 -0.3,0.7 L 17.1,35.5 17,34.7 5.6,38.3 4.9,39.2 4.5,40.1 4.5,38.2 5,37 l 0.9,-0.8 15.9,-8.3 1.8,-1 -0.1,-0.3 -0.5,0 -0.2,-2.3 0,-1.5 0.1,-1.2 0.2,-0.4 2.7,0 0.2,0.4 0.1,1.2 0,1.5 -0.1,1 2.9,-2.4 0,-5.5 0.5,-5.2 L 30,9.1 31,6 31.7,4.8 z”
};
//737-800 - Scale 0.65 Meters/point
https://dl.dropboxusercontent.com/u/50785283/B738.png
var _b738 = {
key: “b738”,
scale: 0.65,
size: [64, 64],
anchor: [32, 32],
path: “m 32,1.1 0.3,0.1 0.8,1.2 0.9,3.1 0.6,3.1 0.5,5.2 0,9.1 2.9,2.4 -0.1,-1 0,-1.5 0.1,-1.2 0.2,-0.4 2.7,0 0.2,0.4 0.1,1.2 0,1.5 -0.3,2.3 -0.4,0 -0.1,0.3 1.8,1 15.9,8.3 0.9,0.8 0.5,1.2 0,1.9 -0.4,-0.9 -0.7,-0.9 -11.4,-3.6 -0.1,0.8 -0.3,0.7 -0.3,-0.7 -0.1,-1 -4.2,-1 -0.1,0.8 -0.3,0.7 -0.3,-0.7 -0.1,-1 -1.2,-0.2 -0.6,0 -0.1,0.9 -0.3,0.7 -0.3,-0.7 -0.1,-0.9 -3.5,0 0,11.6 -0.1,2.7 -0.3,2.5 -0.7,2.4 9.1,7 0,2 -10.7,-3.2 -0.3,1 -0.2,0 -0.3,-1 -10.7,3.2 0,-2 9.2,-7 -0.7,-2.4 -0.4,-2.5 -0.1,-2.7 0,-11.6 -3.5,0 -0.1,0.9 -0.3,0.7 -0.3,-0.7 -0.1,-0.9 -0.6,0 -1.2,0.2 -0.1,1 -0.3,0.7 -0.3,-0.7 -0.1,-0.8 -4.2,1 -0.1,1 -0.3,0.7 L 17.1,35.5 17,34.7 5.6,38.3 4.9,39.2 4.5,40.1 4.5,38.2 5,37 l 0.9,-0.8 15.9,-8.3 1.8,-1 -0.1,-0.3 -0.5,0 -0.2,-2.3 0,-1.5 0.1,-1.2 0.2,-0.4 2.7,0 0.2,0.4 0.1,1.2 0,1.5 -0.1,1 2.9,-2.4 0,-9.1 0.5,-5.2 0.6,-3.1 1,-3.1 0.7,-1.2 z”
};
//747 Series
//747-400 - Scale 1.14 Meters/point
https://dl.dropboxusercontent.com/u/50785283/B744.png
var _b744 = {
key: “b744”,
scale: 1.14,
size: [64, 64],
anchor: [32, 32],
path: “m 31.8,0.7 0.2,0 0.2,0.1 0.2,0.2 0.3,0.4 0.4,0.9 0.5,1.6 0.6,2.4 0.3,2.3 0.2,2.8 0,6.1 0.2,1.3 0.6,0.9 6.1,5.6 -0.1,-0.7 -0.3,0 -0.2,-1.2 0,-1.2 0.1,-1 0.1,-0.3 2.1,0 0.1,0.3 0.1,1 0,1.2 -0.2,1.2 -0.3,0 -0.2,1.8 6.4,5.8 -0.1,-0.7 0,-1.2 0.1,-1 0.1,-0.3 2.1,0 0.1,0.3 0.1,1 0,1.2 -0.1,1.2 -0.3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
};
//757 Series
//757-200 - Scale 0.87 Meters/point
https://dl.dropboxusercontent.com/u/50785283/B752.png
var _b752 = {
key: “b752”,
scale: 0.87,
size: [64, 64],
anchor: [32, 32],
path: “m 32,4.2 0.1,0 0.2,0.1 0.3,0.3 0.4,0.8 0.7,1.7 0.3,2 0.1,2.5 0,12.6 0.6,1.1 3.1,1.7 -0.1,-1.1 0,-1.2 0.2,-1.1 0.1,-0.2 2.2,0 0.1,0.2 0.2,1.1 0,1.2 -0.2,1.6 -0.2,0 -0.1,0.7 13.3,7.3 0.3,0.5 0,1.7 -7.3,-1.9 -0.1,0.9 -0.2,-0.3 -0.1,-0.7 -3.3,-0.9 -0.1,0.7 -0.1,0.2 -0.1,-0.2 -0.1,-0.8 -1.7,-0.4 -1.7,0 -0.1,0.8 -0.1,0.2 -0.1,-0.2 -0.1,-0.8 -4.3,0 0,11.1 -0.1,1.9 -0.4,3.8 0.7,0.6 6.5,4.5 0,2 -7.6,-1.9 -0.2,0.8 -0.7,1.9 -0.2,0 -0.7,-1.9 -0.2,-0.8 -7.6,1.9 0,-2 6.5,-4.4 0.4,-0.7 -0.4,-3.8 -0.1,-1.9 0,-11.1 -4.3,0 -0.1,0.8 -0.1,0.2 -0.1,-0.2 -0.1,-0.8 -1.7,0 -1.7,0.4 -0.1,0.8 -0.1,0.2 -0.1,-0.2 -0.1,-0.7 -3.3,0.9 -0.1,0.7 -0.2,0.3 -0.1,-0.9 -7.3,1.9 0,-1.7 0.3,-0.5 13.3,-7.3 -0.1,-0.7 -0.2,0 -0.2,-1.6 0,-1.2 0.2,-1.1 0.1,-0.2 2.2,0 0.1,0.2 0.2,1.1 0,1.2 -0.1,1.1 3.1,-1.7 0.6,-1.1 0,-12.6 0.1,-2.5 0.3,-2 0.7,-1.7 0.4,-0.8 0.3,-0.3 z”
};
//767 Series
//767-300 - Scale 0.92 Meters/point
https://dl.dropboxusercontent.com/u/50785283/B763.png
var _b763 = {
key: “b763”,
scale: 0.92,
size: [64, 64],
anchor: [32, 32],
path: “m 32,0.8 0.2,0 0.2,0.1 0.4,0.3 0.5,0.8 0.7,1.7 0.5,2 0.2,2.6 0,12.6 0.6,0.8 4.1,2.8 -0.2,-1.1 0,-1.2 0.2,-1.1 0.1,-0.2 2.3,0 0.1,0.2 0.2,1.1 0,1.2 -0.2,1.2 -0.3,0 -0.1,1.2 15.9,11 0.3,0.5 0,1.5 -0.2,0.6 -8.4,-3.4 -0.1,0.4 -0.1,-0.5 -4.2,-1.4 -0.1,0.4 -0.1,-0.5 -4.4,-1.4 -1,-0.2 -0.2,0.5 -0.2,-0.5 -4,-0.4 0,12.9 -0.1,2.6 -0.4,3.8 0.5,0.7 7.5,5.8 0,1.9 -9.2,-2.4 -0.7,1.5 -0.1,1.3 -0.2,0 -0.1,-1.3 -0.7,-1.5 -9.2,2.4 0,-1.9 7.5,-5.8 0.5,-0.7 -0.4,-3.8 -0.1,-2.6 0,-12.9 -4,0.4 -0.2,0.5 -0.2,-0.5 -1,0.2 -4.4,1.4 -0.1,0.5 -0.1,-0.4 -4.2,1.4 -0.1,0.5 -0.1,-0.4 -8.4,3.4 -0.2,-0.6 0,-1.5 0.3,-0.5 15.9,-11 -0.1,-1.2 -0.3,0 -0.2,-1.2 0,-1.2 0.2,-1.1 0.1,-0.2 2.3,0 0.1,0.2 0.2,1.1 0,1.2 -0.2,1.1 4.1,-2.8 0.6,-0.8 0,-12.6 0.2,-2.6 0.5,-2 0.7,-1.7 0.5,-0.8 0.4,-0.3 z”
};
//777 Series
//777-200 - Scale 1.16 Meters/point
https://dl.dropboxusercontent.com/u/50785283/B772.png
var _b772 = {
key: “b772”,
scale: 1.16,
size: [64, 64],
anchor: [32, 32],
path: “m 31.9,4.2 0.2,0 0.2,0.1 0.3,0.3 0.5,0.8 0.7,1.7 0.5,2 0.3,2.5 0,10.9 0.3,0.6 0.5,0.6 3.3,2.2 -0.2,-1.1 0,-1.6 0.2,-1.4 0.1,-0.2 3,0 0.1,0.2 0.2,1.4 0,1.6 -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3 -0.3,-1.4 -0.1,-1.3 0,-1.6 0.1,-1.2 0.1,-0.4 0.2,-0.2 3.2,0 0.2,0.2 0.1,0.4 0.1,1.2 0,1.6 -0.1,1.3 -0.2,0.9 -0.1,0.3 -0.2,-0.1 -0.2,0.3 -0.2,-0.3 -0.3,0.8 6.5,-4.6 0,-11.4 0.1,-2.7 0.2,-2.5 0.6,-2.5 0.8,-1.9 0.7,-1 z”
};
Sorry for the stupid question, but what file does these go into and how are they inserted. Ive looked at config.js and planeObject.js and cannot find anything similar?
I usually use nano, but willing to learn new .
Will also do 1 plane at a time so I dont break anything

Sorry for the stupid question, but what file does these go into and how are they inserted. Ive looked at config.js and planeObject.js and cannot find anything similar?
I usually use nano, but willing to learn new
.
Will also do 1 plane at a time so I dont break anything
These go in the 3.1.0 markers.js file, there is also a section that correlates the aircraft type to the correct graphic further down the doc:
var TypeDesignatorIcons = {
‘A318’: _a320, // shortened a320
‘A319’: _a320, // shortened a320
‘A320’: _a320,
‘A321’: _a320, // stretched a320…
Use the underscore name of the new graphic to correspond the correct Type Designator, you can add more easily enough, it is reading the type from the JSON DB.
For ease of editing, I use Notepad++ on my PC and WinSCP to copy the file local to edit it and then copy it back, way easier than nano for large edits!
Didn’t like the default “rotorcraft”, threw together a Robinson R44 last night, still working on scale, currently have it a 0.5, my scaling system has it at 0.16 meters per point, but that is far too small.
Still pulling these off as a single path object with no curves
//Robinson R44 - Scale 0.16 Meters/point
https://dl.dropboxusercontent.com/u/50785283/R44.png
var _r44 = {
key: “r44”,
scale: 0.5,
size: [64, 64],
anchor: [32, 32],
path: “m 30.7,14.9 0.7,-0.1 0.7,0.1 0.8,0.3 1,1.1 0.7,1.8 0.2,2.4 0,2.7 1.7,-0.1 0,0.9 0,-5.1 0.1,-0.6 0.2,-0.1 0.2,0.1 0.1,0.6 0,12.2 0.2,1.5 -1,0 0.2,-1.5 0,-7.1 -1.7,0.1 -0.2,3.9 -0.3,2.3 2.2,0 0,0.8 -2.3,0.3 -0.7,3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-0.5,-0.1 0,0.3 -0.3,0 0,-0.3 -4.3,-0.4 0,-1.6 5.3,-0.3 0.3,-1.7 -0.7,-18.9 -0.5,-0.4 -0.2,-0.5 -0.2,-0.7 -0.7,-3.8 -2.3,-0.3 0,-0.8 2.2,0 L 28.2,28 28,24.1 26.3,24 l 0,7.1 0.2,1.5 -1,0 0.2,-1.5 0,-12.2 0.1,-0.6 0.2,-0.1 0.2,0.1 0.1,0.6 0,5.1 0,-0.9 1.7,0.1 0,-2.8 0.2,-2.3 0.7,-1.8 1,-1 z”
};
w7psk:
Sorry for the stupid question, but what file does these go into and how are they inserted. Ive looked at config.js and planeObject.js and cannot find anything similar?
I usually use nano, but willing to learn new
.
Will also do 1 plane at a time so I dont break anything
These go in the 3.1.0 markers.js file, there is also a section that correlates the aircraft type to the correct graphic further down the doc:
var TypeDesignatorIcons = {
‘A318’: _a320, // shortened a320
‘A319’: _a320, // shortened a320
‘A320’: _a320,
‘A321’: _a320, // stretched a320…Use the underscore name of the new graphic to correspond the correct Type Designator, you can add more easily enough, it is reading the type from the JSON DB.
For ease of editing, I use Notepad++ on my PC and WinSCP to copy the file local to edit it and then copy it back, way easier than nano for large edits!
is this how you add it at the bottom?
var MarkerIcons = {
generic : {
scale : 0.4,
anchor : new google.maps.Point(32, 32),
path : _generic_plane_svg
},
light : {
scale : 0.4,
anchor : new google.maps.Point(32, 25),
path : _beechcraft_svg
},
medium : {
scale : 0.4,
anchor : new google.maps.Point(32, 32),
path : _generic_plane_svg
},
heavy : {
scale : 0.5,
anchor : new google.maps.Point(32, 32),
path : _generic_plane_svg
},
rotorcraft : {
scale : 0.5,
anchor : new google.maps.Point(22, 32),
path : _rotorcraft_svg
}
var TypeDesignatorIcons = {
‘733’: _733, // 737-300
}
};
Here is a link to my markers.js file, still work in progress but it might help.
https://dl.dropboxusercontent.com/u/50785283/markers.js
A couple of new SVGs in there I haven’t shared yet too
Here is a link to my markers.js file, still work in progress but it might help.
https://dl.dropboxusercontent.com/u/50785283/markers.js
A couple of new SVGs in there I haven’t shared yet too
Weird, copied your file to my dump1090-mutability/html directory … checked permissions were set to 644 and reboot the PI and my
planes didn’t change.
Bugger all.
Here is a screen grab of my current map.