/*
pour customiser chaque waypoint via un traitement en JS
NE PAS TOUCHER DANS LE DOUTE ^^
Ex de waypoint :
{
"name":"Château des chèvres",
"description":"Vol",
"coords":[5.8169772,44.7628703,0],
"plafond":"FL145",
"diametre":200
}
Ex d'utilisation :
if (waypoint.description.toLowerCase() != 'vol') {
waypoint.plafond = '50 m AGL';
}
if (waypoint.name=='Balise à supprimer') {
return false; // retourner false pour supprimer cette balise
}
*/
if (waypoint.description.toLowerCase() != 'vol') {
return false;
}
waypoint.plafond = "FL145";
waypoint.diametre = 200;