TextQuery.withArea constructor

TextQuery.withArea(
  1. String query,
  2. TextQueryArea area
)

Constructs a TextQuery from the provided text query and geographic area.

For Offline Search, search in a given GeoBox, GeoCircle or GeoCorridor restricts the results to only POIs.

  • query Desired query to search.

  • area Area which to provide the most relevant places.

Implementation

factory TextQuery.withArea(String query, TextQueryArea area) => $prototype.withArea(query, area);