retrieve

open override fun retrieve(administrativeUnitLevelAndAdministrativeUnitNameList: List<Pair<AdministrativeLevel, AdministrativeUnitName>>): Flow<CartographicBoundary>

Retrieves a Flow of CartographicBoundary objects for a given list of AdministrativeLevel and AdministrativeUnitName pairs. This method is designed to retrieve boundaries for multiple locations at once.

For each provided pair, the method attempts to fetch the corresponding cartographic boundary based on the administrative level and name. If successful, the retrieved boundary information is emitted through the returned Flow.

Return

a Flow that emits successfully retrieved CartographicBoundary objects.

Parameters

administrativeUnitLevelAndAdministrativeUnitNameList

a list of pairs where the first element specifies the administrative level (e.g., CITY, STATE, COUNTRY) and the second element specifies the corresponding administrative unit name (e.g., "New York City", "California").