TextQueryArea class - search library - Dart API
TextQueryArea
TextQueryArea class
Area to perform search on.
- Annotations
Constructors
- TextQueryArea.withBox(GeoBox boxArea)
-
Constructs a new instance of this class from provided parameters.
factory
- TextQueryArea.withCenter(GeoCoordinates areaCenter)
-
Constructs a new instance of this class from provided parameters.
factory
- TextQueryArea.withCircle(GeoCircle circleArea)
-
Constructs a new instance of this class from provided parameters.
factory
- TextQueryArea.withCorridor(GeoCorridor corridorArea, GeoCoordinates areaCenter)
-
Constructs a new instance of this class from provided parameters.
factory
-
TextQueryArea.withCountries(List<
CountryCode> countries, GeoCoordinates areaCenter) -
Constructs a new instance of this class from provided parameters.
factory
Properties
- areaCenter → GeoCoordinates?
-
Geographic coordinates of the center around which to provide the most relevant places.
For Offline Search, one of TextQueryArea.areaCenter, TextQueryArea.boxArea and TextQueryArea.circleArea has to be set,
otherwise it will result in SearchError.invalidArea.
final
- boxArea → GeoBox?
-
Geographic rectangle area in which to provide the most relevant places.
For Offline Search, one of TextQueryArea.areaCenter, TextQueryArea.boxArea and TextQueryArea.circleArea has to be set,
otherwise it will result in SearchError.invalidArea.
Also, for Offline Search, search in a given
GeoBoxrestricts the results to only POIs.final - circleArea → GeoCircle?
-
Geographic circle area in which to provide the most relevant places.
For Offline Search, one of TextQueryArea.areaCenter, TextQueryArea.boxArea and TextQueryArea.circleArea has to be set,
otherwise it will result in SearchError.invalidArea.
Also, for Offline Search, search in a given
GeoCirclerestricts the results to only POIs.final - corridorArea → GeoCorridor?
-
Geographic corridor area in which to provide the most relevant places.
The contained polyline and half-width define the area that will be used in a search query.
final
-
countries
→ List<
CountryCode> -
A list of countries that the query is applied in.
Not supported in
OfflineSearchEngine(not available in all editions).final - hashCode → int
-
The hash code for this object.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool - The equality operator.