|
|
|
|
@ -83,15 +83,15 @@ const MultipleFeaturesPopup = ({ features, points }) => {
|
|
|
|
|
{feature.properties.category === CATEGORIES.residential || feature.layer.id === LAYER_IDS.working ? (
|
|
|
|
|
<div className="space-x-2 flex items-center w-full">
|
|
|
|
|
<span className="flex-1 truncate inline-block">
|
|
|
|
|
{point.address}
|
|
|
|
|
{point?.address}
|
|
|
|
|
</span>
|
|
|
|
|
<span>{point.name}</span>
|
|
|
|
|
<span>{point?.name}</span>
|
|
|
|
|
</div>
|
|
|
|
|
) : (
|
|
|
|
|
<div className="flex w-full">
|
|
|
|
|
<span className="truncate">
|
|
|
|
|
{point.name ?? point.category}
|
|
|
|
|
{point.category_id && getRivalsName(feature).name}
|
|
|
|
|
{point?.name ?? point?.category}
|
|
|
|
|
{point?.category_id && getRivalsName(feature).name}
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
)}
|
|
|
|
|
|