aboutsummaryrefslogtreecommitdiff
path: root/src/Costasdev.Busurbano.Backend/Services/IGeocodingService.cs
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2025-12-28 15:59:32 +0100
committerAriel Costas Guerrero <ariel@costas.dev>2025-12-28 15:59:50 +0100
commit4fb2fe683b75464917dec4b1a0aaee63830f3b9a (patch)
tree40b48d9717061db2bc3434b5db085eeeaae6cd76 /src/Costasdev.Busurbano.Backend/Services/IGeocodingService.cs
parent1fd17d4d07d25a810816e4e38ddc31ae72b8c91a (diff)
feat: Refactor NavBar and Planner components; update geocoding services
- Removed unused Navigation2 icon from NavBar. - Updated usePlanner hook to manage route history and improve local storage handling. - Enhanced PlannerApi with new fare properties and improved itinerary handling. - Added recent routes feature in StopList with navigation to planner. - Implemented NominatimGeocodingService for autocomplete and reverse geocoding. - Updated UI components for better user experience and accessibility. - Added translations for recent routes in multiple languages. - Improved CSS styles for map controls and overall layout.
Diffstat (limited to 'src/Costasdev.Busurbano.Backend/Services/IGeocodingService.cs')
-rw-r--r--src/Costasdev.Busurbano.Backend/Services/IGeocodingService.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Costasdev.Busurbano.Backend/Services/IGeocodingService.cs b/src/Costasdev.Busurbano.Backend/Services/IGeocodingService.cs
new file mode 100644
index 0000000..3ac29d6
--- /dev/null
+++ b/src/Costasdev.Busurbano.Backend/Services/IGeocodingService.cs
@@ -0,0 +1,9 @@
+using Costasdev.Busurbano.Backend.Types.Planner;
+
+namespace Costasdev.Busurbano.Backend.Services;
+
+public interface IGeocodingService
+{
+ Task<List<PlannerSearchResult>> GetAutocompleteAsync(string query);
+ Task<PlannerSearchResult?> GetReverseGeocodeAsync(double lat, double lon);
+}