From 3ea51a6842e49342403b2bf206b40eedf7ca8f8e Mon Sep 17 00:00:00 2001 From: livio Date: Fri, 11 Sep 2026 19:25:09 +0200 Subject: [PATCH] Fix native map services and add provider selection --- Components/Pages/Home.razor | 194 ++++- LMEMappeCatastaliApp.csproj | 4 +- MauiProgram.cs | 2 + README.md | 4 +- Services/LocationSearchService.cs | 185 ++++ Services/OfficialCadastreService.cs | 85 ++ wwwroot/index.html | 1 + wwwroot/js/lme-map.js | 275 +++--- .../lib/googlemutant/Leaflet.GoogleMutant.js | 787 ++++++++++++++++++ 9 files changed, 1408 insertions(+), 129 deletions(-) create mode 100644 Services/LocationSearchService.cs create mode 100644 Services/OfficialCadastreService.cs create mode 100644 wwwroot/lib/googlemutant/Leaflet.GoogleMutant.js diff --git a/Components/Pages/Home.razor b/Components/Pages/Home.razor index e1014ef..8f87bf4 100644 --- a/Components/Pages/Home.razor +++ b/Components/Pages/Home.razor @@ -2,6 +2,8 @@ @inject IJSRuntime JS @inject PreciseLocationService LocationService @inject CadastralCatalogService CatalogService +@inject OfficialCadastreService OfficialCadastreService +@inject LocationSearchService LocationSearchService @implements IAsyncDisposable LME Mappe Catastali @@ -128,8 +130,10 @@ +
-
@@ -142,11 +146,22 @@

Visualizzazione

+ +