W3WSearchEngine class abstract
what3words is an alternative geocode system designed to identify any location on the planet.
The system divides the world into a grid of 57 trillion 3-by-3-metre squares, each of which
has a three-word address. For example, the front door of HERE’s Berlin office is identified by
"///wage.mere.heap".
W3WSearchEngine allows you to convert 3 word addresses to coordinates and also coordinates
to 3 word addresses.
Note: Using W3WSearchEngine requires a licence to access HERE what3words APIs.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
Constructors
- W3WSearchEngine()
-
Creates a new instance of this class.
factory
- W3WSearchEngine.withSdkEngine(SDKNativeEngine sdkEngine)
-
Creates a new instance of this class.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
searchByCoordinates(
GeoCoordinates coordinates, String? language, W3WSearchCallback callback) → TaskHandle - Performs an asynchronous request to search for a W3WSquare, which includes the 3 word address, that corresponds to the given coordinates.
-
searchByWords(
String words, W3WSearchCallback callback) → TaskHandle - Performs an asynchronous request to search for a W3WSquare that corresponds to the given 3 words.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited