sdk-search / com.tomtom.online.sdk.search.data.geometry / GeometrySearchQuery / <init>

<init>

GeometrySearchQuery(term: String!, geometries: MutableList<Geometry!>!, language: String!, limit: Int!, typeAhead: Boolean!, extendedPostalCodesFor: String!, idxSet: String!, geopoliticalView: String!, mapCodes: MutableSet<MapCodeType!>!, openingHours: OpeningHoursMode!, timeZone: TimeZoneType!, brandSet: String!, categorySet: MutableList<Long!>!, evConnectorSet: String!, fuelSet: String!)

Creates instance of a geometry search query and initializes proper fields with defined parameters.

Parameters

term - String!: The searched phrase.

geometries - MutableList<Geometry!>!: The list of Geometry objects that can be either a polygon or circle geometry.

language - String!: The language in which the search results should be returned. It should be one of the supported IETF language tags, case insensitive.

limit - Int!: The maximum limit of Responses that will be returned.

typeAhead - Boolean!: If true, then the query will be interpreted as a partial input, and the search will enter predictive mode.

extendedPostalCodesFor - String!: The indexes for extended postal codes that should be included in the results. Available indexes are: Addr, Geo, PAD, POI, Str, XStr.

idxSet - String!: The indexes to utilize for the search.

geopoliticalView - String!: This defines what kind of geopolitical view should be used.

openingHours - OpeningHoursMode!: The opening hours scope.

mapCodes - MutableSet<MapCodeType!>!: The enum type indicating supported MapCodes.

timeZone - TimeZoneType!: Used to indicate the mode in which the timeZone object should be returned.

brandSet - String!: A comma-separated list of brand names which could be used to restrict the result to Points Of Interest of specific brands.

categorySet - MutableList<Long!>!: Restricts the POIs in the Response to those whose id is listed in the categorySet.

evConnectorSet - String!: This is a comma-separated list of connector types which could be used to restrict the result to Points Of Interest (POI) of type Electric Vehicle Station, supporting specific connector types.

fuelSet - String!: A comma-separated list of fuel types which could be used to restrict the result to Points Of Interest of specific fuels.