miniarma Posted April 13, 2020 Report Posted April 13, 2020 (edited) I was wondering if anyone would have any idea on how to set different icons for the aircraft type on live map. I'm not great with jquery functions so anyone able to resolve this would be a great help I'm assuming it would be something along the lines of this const getHeadingIcon = (heading) => { if (!(heading in headingIcons)) { headingIcons[heading] = L.icon({ iconUrl: url + "/lib/images/inair/" + aircraft + heading + ".png", iconSize: [35, 35] }); } Many thanks Edited April 14, 2020 by miniarma Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.