Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
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.
Link copied to clipboard
data class MapGptLocationRegion(val requestPoint: Point, val polygon: Polygon?, val placeName: String?, val center: Point?)