I would like to track specific theme planes as they fly though the area. I have gotten into the flags.js file and segregated a few planes out from the pack and dump1090 is identifying them properly. However, my flag png files do not seem to want to work. I have an example here of what I am doing:
This is a picture of a flight arriving with the Country of Registration altered. However, the flag file in both the aircraft info above and in the aircraft list below (gray line) do not display a flag. Here is the text from the flag.js file:
{ start: 0xA00000, end: 0xA720EA, country: "United States of America", flag_image: "United_States_of_America.png" },
{ start: 0xA720EB, end: 0xA720EB, country: "Salmon Thirty Salmon N559AS", flag_image: "SALMON.png" },
{ start: 0xA720EC, end: 0xA7AC53, country: "United States of America", flag_image: "United_States_of_America.png" },
{ start: 0xA7AC54, end: 0XA7AC54, country: "Alaska Airlines", flag_image: "United_States_of_America.png" },
{ start: 0xA7AC55, end: 0xA7E150, country: "United States of America", flag_image: "United_States_of_America.png" },
{ start: 0xA7E151, end: 0xA7E151, country: "TIMBERS!!!", flag_image: "TIMBERS.png" },
// { start: 0xA7E152, end: 0xAFFFFF, country: "USA", flag_image: "United_States_of_America.png" },
{ start: 0xA7E152, end: 0xACAA76, country: "United States of America", flag_image: "United_States_of_America.png" },
{ start: 0xACAA77, end: 0xACAA77, country: "TWA Theme Plane", flag_image: "TWA.png" },
{ start: 0xACAA78, end: 0xAFFFFF, country: "United States of America", flag_image: "United_States_of_America.png" },
In the case of the Timbers aircraft, A7E151, the flag displays correctly. In the case of N559AS and the TWA plane, the flag files do not display as desired. Here are the images for the alternate flags I am using:
The file names are correct in the code above. The alternate flag pictures were pulled from various web sites and converted to png files using photoshop. The Timbers file works properly and the TWA and Salmon files both error. Any thoughts on what I am doing incorrectly with my alternate flag files that will not display on my map? How do I correct the problems?
Thank you