Virtualvfunc_Gets the result of a forward geocoding query using the backend.
If no results are found, a GeocodeGlib.Error.NO_MATCHES error is returned.
This is a synchronous function, which means it may block on network requests. In most situations, the asynchronous version (geocode_backend_forward_search_async()) is more appropriate. See its documentation for more information on usage.
a GLib.HashTable with string keys, and GObject.Value values.
optional Gio.Cancellable, null to ignore.
Virtualvfunc_Asynchronously performs a forward geocoding query using the backend. Use
geocode_backend_forward_search() to do the same thing synchronously.
The params hash table is in the format used by Telepathy, and documented
in the Telepathy specification.
See also: XEP-0080 specification.
When the operation is finished, callback will be called. You can then call
geocode_backend_forward_search_finish() to get the result of the operation.
a GLib.HashTable with string keys, and GObject.Value values.
optional Gio.Cancellable, null to ignore.
a Gio.AsyncReadyCallback to call when the request is satisfied
Virtualvfunc_Finishes a forward geocoding operation. See
geocode_backend_forward_search_async().
Virtualvfunc_Gets the result of a reverse geocoding query using the backend.
If no result could be found, a GeocodeGlib.Error.NOT_SUPPORTED error will be returned. This typically happens if the coordinates to geocode are in the middle of the ocean.
This is a synchronous function, which means it may block on network requests.
In most situations, the asynchronous version,
geocode_backend_forward_search_async(), is more appropriate. See its
documentation for more information on usage.
a GLib.HashTable with string keys, and GObject.Value values.
optional Gio.Cancellable object, null to ignore.
Virtualvfunc_Asynchronously gets the result of a reverse geocoding query using the backend.
Typically, a single result will be returned representing the place at a
given latitude and longitude (the lat and lon keys to params); but in
some cases the results will be ambiguous and multiple results will be
returned. They will be returned in order of relevance, with the most
relevant result first in the list.
The params hash table is in the format used by Telepathy, and documented
in the Telepathy specification.
See also: XEP-0080 specification.
Use geocode_backend_reverse_resolve() to do the same thing synchronously.
When the operation is finished, callback will be called. You can then call
geocode_backend_reverse_resolve_finish() to get the result of the operation.
a GLib.HashTable with string keys, and GObject.Value values.
optional Gio.Cancellable object, null to ignore.
a Gio.AsyncReadyCallback to call when the request is satisfied.
Virtualvfunc_Finishes a reverse geocoding operation. See geocode_backend_reverse_resolve_async().
Interface for implementing Backend. Contains only the virtual methods that need to be implemented.