feat(falukant): render houses with 3D models
Some checks failed
Deploy to production / deploy (push) Failing after 1m17s

This commit is contained in:
Torsten Schulz (local)
2026-09-25 07:44:53 +02:00
parent 4e20111331
commit d15c56a7b3
5 changed files with 274 additions and 90 deletions

View File

@@ -0,0 +1,15 @@
const HOUSE_MODELS = Object.freeze({
'Unter der Brücke': 'under_bridge',
'Strohhütte': 'straw_hut',
Holzhaus: 'wooden_house',
Hinterhofzimmer: 'backyard_room',
'Kleines Familienhaus': 'family_house',
Stadthaus: 'townhouse',
Villa: 'villa',
Herrenhaus: 'mansion',
Schloss: 'castle',
});
export function getFalukantHouseModel(houseType) {
return HOUSE_MODELS[houseType?.labelTr] || 'under_bridge';
}