request Locations From Rectangle
suspend fun requestLocationsFromRectangle(languageCode: LanguageCode = LanguageCode.DE, upperLeftLongitude: Double, upperLeftLatitude: Double, lowerRightLongitude: Double, lowerRightLatitude: Double, restrictions: LocationInformationParams): Result<List<PlaceResultDto>>
Request a list of Place Results located within the given geographical rectangle (bounding box). This is typically used to load points of interest (e.g. shared mobility vehicles) for the currently visible map region.
The rectangle is defined by its upper left and lower right corners.
Return
List of PlaceResultDto located within the given rectangle
Parameters
language Code
The LanguageCode for the desired results, default is LanguageCode.DE
upper Left Longitude
The longitude of the upper left corner of the rectangle
upper Left Latitude
The latitude of the upper left corner of the rectangle
lower Right Longitude
The longitude of the lower right corner of the rectangle
lower Right Latitude
The latitude of the lower right corner of the rectangle
restrictions
Restrictions that should be used for results (e.g. a ch.opentransportdata.ojp.domain.model.PointOfInterestFilter)