feat: show immediate administrative subdivisions and map coverage gaps
This commit is contained in:
@@ -18,7 +18,11 @@ export default function CatalogueInvestmentMap({
|
||||
territoryId?: string;
|
||||
mapKind?: InvestmentMapKind;
|
||||
}) {
|
||||
const { context, error } = useTerritoryGeometry(territoryId);
|
||||
const { context, error } = useTerritoryGeometry(
|
||||
territoryId,
|
||||
undefined,
|
||||
true,
|
||||
);
|
||||
return (
|
||||
<InteractiveInvestmentMap
|
||||
points={points}
|
||||
@@ -54,14 +58,15 @@ export default function CatalogueInvestmentMap({
|
||||
Sem limite administrativo acessível para o
|
||||
território seleccionado.
|
||||
{context.areas.length > 0
|
||||
? ' Os limites de níveis superiores são apenas contexto e não representam a selecção.'
|
||||
? ' Os limites disponíveis são contexto administrativo e não substituem o limite da selecção.'
|
||||
: ''}
|
||||
</p>
|
||||
)}
|
||||
{context?.truncated && (
|
||||
<p role="alert">
|
||||
Cobertura administrativa incompleta: são
|
||||
apresentados até 100 limites.
|
||||
consultadas até 100 geometrias e 500
|
||||
subdivisões.
|
||||
</p>
|
||||
)}
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user