Package com.tomtom.sdk.search.client.geometry
Types
Link copied to clipboard
data class CircleGeometry(val position: GeoCoordinate, val radiusInMeters: Int) : Geometry
Content copied to clipboard
Represents information about a circle.
Link copied to clipboard
A interface that represents geometry in the Geometry Search API. There can be two different types of geometry: CircleGeometry or PolygonGeometry.
Link copied to clipboard
interface GeometrySearchCallback : Callback<GeometrySearchResponse, GeometrySearchError>
Content copied to clipboard
Callback that reports on a GeometrySearchResponse or GeometrySearchError that has been received.
Link copied to clipboard
Error caused by failure while calling the Geometry Search API. Contains information about the cause of the failure.
Link copied to clipboard
data class GeometrySearchOptions( val query: String, val geometries: List<Geometry>, val limit: Int? = null, val language: String? = null, val extendedPostalCodes: List<IndexType>, val idx: Set<IndexType>, val categorySet: Set<Long>, val brandSet: Set<String>, val connectorSet: Set<String>, val minPowerKW: Double? = null, val maxPowerKW: Double? = null, val fuelSet: Set<FuelType>, val geopoliticalView: String? = null, val openingHours: OpeningHoursMode? = null, val timeZone: TimeZoneType? = null, val mapCodes: Set<MapCodeType>, val relatedPois: RequestedPoiRelationType? = null, val entityTypeSet: Set<EntityType>)
Content copied to clipboard
Defines the parameters of a Geometry Search. Use GeometrySearchOptions.Builder to create a new instance of the object.
Link copied to clipboard
data class GeometrySearchResponse(val summary: SearchRequestSummary, val results: List<SearchResult>)
Content copied to clipboard
Response from the Geometry Search API.
Link copied to clipboard
Represents information about a polygon.