Add highlight class for groups with excess preorder count

This commit is contained in:
2025-11-11 15:45:41 +01:00
parent 55082eb2b2
commit 7ab04712b5

View File

@@ -242,6 +242,7 @@ Vue.component('PreorderRimoTypeMap', {
let tooltipInnerClass = '';
if (rimoType !== 'greenfield' && group.wohneinheit_count > 0 && group.wohneinheit_count === group.preorder_count) tooltipInnerClass = ' marker-label-saturated';
else if (rimoType === 'greenfield' && group.preorder_count > 0) tooltipInnerClass = ' marker-label-highlight';
else if (group.preorder_count > group.wohneinheit_count && group.wohneinheit_count > 0) tooltipInnerClass = ' marker-label-highlight';
return {
lat: group.gps_lat, lng: group.gps_long, rimoType, hausnummerId: group.hausnummer_id,
options: {