MapGptLocationProvider
class MapGptLocationProvider(mapboxGeocodingUseCase: MapGptGeocodingUseCase = MapGptGeocodingUseCase()) : UIComponent
There is a bit of manual work here to get the region name from the geocoding response. This approach seems like it should be replaced. For example, these kinds of requests may be better handled by backend services. Another possibility is an integration with something like OpenAi plugins.
For now this provides a way to give MapGPT language input for the user's location.