Release 0.4.3 with contextual help and parcel deduplication

This commit is contained in:
livio committed 2026-09-25 14:13:37 +02:00
1 parent f1224b21c4
commit cfba1b998b
8 files changed
+325 -11

No files matched your search

+17 -2
View File
@@ -102,6 +102,7 @@
<button class="danger-command" @onclick="ClearSelectedParcels">Elimina definitivamente le particelle selezionate</button>
<button class="danger-command" @onclick="ClearMapElements">Pulisci elementi mappa</button>
</div>
<MenuHelp Topic="layers" />
</section>
}
@@ -189,6 +190,7 @@
<strong>Mappa pubblica ufficiale</strong>
<p>I confini visualizzati arrivano dai servizi WMS/WFS open data dell'Agenzia delle Entrate e non richiedono CAPTCHA.</p>
</div>
<MenuHelp Topic="cadastre" />
</section>
}
else if (ActiveTab == "data")
@@ -253,6 +255,7 @@
</label>
<button class="primary-command" @onclick="AddProjectMarker">Aggiungi POI al centro mappa</button>
</section>
<MenuHelp Topic="data" />
</section>
}
else if (ActiveTab == "save")
@@ -310,6 +313,7 @@
<small class="field-help">KML e KMZ sono compatibili con Google Earth. Gli sfondi satellitari e il WMS non vengono incorporati nel file vettoriale.</small>
</section>
<MenuHelp Topic="save" />
</section>
}
else if (ActiveTab == "projects")
@@ -405,6 +409,7 @@
<span>Mostra misure dei disegni</span>
</label>
</section>
<MenuHelp Topic="projects" />
</section>
}
else if (ActiveTab == "tools")
@@ -436,6 +441,7 @@
</div>
<small class="field-help">@OfflineStatus</small>
</section>
<MenuHelp Topic="tools" />
</section>
}
else if (ActiveTab == "settings")
@@ -587,6 +593,7 @@
<button class="secondary-command" @onclick="ExportCadastralImage">Mostra vista WMS corrente</button>
<footer>Dati catastali: Agenzia delle Entrate, licenza CC BY 4.0. App indipendente.</footer>
</section>
<MenuHelp Topic="settings" />
</section>
}
</aside>
@@ -1093,8 +1100,16 @@
var label = $"{municipality.Name} - foglio {DisplaySheet(SelectedSheet)}, particella {parcel.Number}";
CatalogBusy = true;
CatalogMessage = "Scarico il confine dal servizio ufficiale AdE...";
var xml = await OfficialCadastreService.GetParcelsNearAsync(parcel.Latitude, parcel.Longitude, 8);
await JS.InvokeVoidAsync("lmeMap.displayOfficialParcel", xml, parcel.Latitude, parcel.Longitude, parcel.Number, label, true);
ShowSelectedParcels = true;
SaveFlagPreferences();
await JS.InvokeVoidAsync("lmeMap.setSelectedParcelsVisible", true);
var xml = await OfficialCadastreService.GetParcelsNearAsync(parcel.Latitude, parcel.Longitude, 30);
var displayResult = await JS.InvokeAsync<string>("lmeMap.displayOfficialParcel", xml, parcel.Latitude, parcel.Longitude, parcel.Number, label, true);
if (displayResult == "imported")
{
ShowImportedData = true;
SaveFlagPreferences();
}
ActiveTab = "map";
await Task.Delay(30);
await JS.InvokeVoidAsync("lmeMap.resize");