feat: show immediate administrative subdivisions and map coverage gaps
This commit is contained in:
@@ -25,6 +25,7 @@ export type InvestmentMapFeature = {
|
||||
};
|
||||
export type InvestmentMapArea = {
|
||||
selected_territory?: boolean;
|
||||
child_territory?: boolean;
|
||||
location_type?: string;
|
||||
purpose?: string;
|
||||
geometry: GeoJsonObject;
|
||||
@@ -67,7 +68,7 @@ export default function InteractiveInvestmentMap({
|
||||
}[mapKind];
|
||||
const areaDescription = (area: InvestmentMapArea) =>
|
||||
area.purpose === 'administrative_boundary'
|
||||
? 'Limite administrativo da edição indicada; não representa um local de investimento'
|
||||
? `${area.selected_territory ? 'Território seleccionado' : area.child_territory ? 'Subdivisão do território seleccionado' : 'Contexto de nível superior'} · Limite administrativo da edição indicada; não representa um local de investimento`
|
||||
: area.purpose === 'declared_parcel'
|
||||
? 'Perímetro declarado pelo Promotor; não é limite administrativo nem comprova disponibilidade legal'
|
||||
: mapKind === 'documented_locations'
|
||||
|
||||
Reference in New Issue
Block a user