in src/maps_planner/index.ts [712:749]
function getTransportIcon(transportType: string): string {
const type = (transportType || '').toLowerCase();
if (type.includes('walk')) {
return 'walking';
}
if (type.includes('car') || type.includes('driv')) {
return 'car-side';
}
if (
type.includes('bus') ||
type.includes('transit') ||
type.includes('public')
) {
return 'bus-alt';
}
if (
type.includes('train') ||
type.includes('subway') ||
type.includes('metro')
) {
return 'train';
}
if (type.includes('bike') || type.includes('cycl')) {
return 'bicycle';
}
if (type.includes('taxi') || type.includes('cab')) {
return 'taxi';
}
if (type.includes('boat') || type.includes('ferry')) {
return 'ship';
}
if (type.includes('plane') || type.includes('fly')) {
return 'plane-departure';
}
{
return 'route';
} // Default icon
}