GeometrySearchQuery
public GeometrySearchQuery(java.lang.String term,
java.util.List<Geometry> geometries,
java.lang.String language,
java.lang.Integer limit,
java.lang.Boolean typeAhead,
java.lang.String extendedPostalCodesFor,
java.lang.String idxSet,
java.lang.String geopoliticalView,
java.util.Set<MapCodeType> mapCodes,
OpeningHoursMode openingHours,
TimeZoneType timeZone)
Creates instance of a geometry search query and initializes proper fields with defined parameters.
- Parameters:
term
- The searched phrase.
geometries
- The list of Geometry
objects that can be either a polygon or circle geometry.
language
- The language in which the search results should be returned. It should be one of the supported IETF language tags, case insensitive.
limit
- The maximum limit of Responses that will be returned.
typeAhead
- If true, then the query will be interpreted as a partial input, and the search will enter predictive mode.
extendedPostalCodesFor
- The indexes for extended postal codes that should be included in the results.
Available indexes are: Addr, Geo, PAD, POI, Str, XStr.
idxSet
- The indexes to utilize for the search.
geopoliticalView
- This defines what kind of geopolitical view should be used.
openingHours
- The opening hours scope.
mapCodes
- The enum type indicating supported MapCodes.
timeZone
- Used to indicate the mode in which the timeZone object should be returned.