PlaceRequest

data class PlaceRequest @JvmOverloads constructor(val location: GeoCoordinates, val categoryTags: List<String>, val radius: Int, val boundary: GeoBoundingBox? = null, val maxResultCount: Int = 10, val languageTag: String? = null)

Represents a request to find places (POIs) based on location and category.

Parameters

location

The geographical coordinates to search around.

categoryTags

The list of category tags to filter the results.

radius

The search radius in meters (max 50 000 meters for online search, unspecified error will be returned otherwise)

boundary

Optional geographical bounding box to further constrain the search area.

maxResultCount

The maximum number of results to return (default is 10).

languageTag

Optional language tag for localization (e.g., "en-US").

Constructors

Link copied to clipboard
constructor(location: GeoCoordinates, categoryTags: List<String>, radius: Int, boundary: GeoBoundingBox? = null, maxResultCount: Int = 10, languageTag: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val languageTag: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val radius: Int