lib_lat_lon v0.2.0 LibLatLon.Provider behaviour
The default behaviour for all the geo providers.
Link to this section Summary
Callbacks
Performs either a normal lookup by any string or a reverse lookup by latitude and longitude
Returns a name of this provider to display
Link to this section Callbacks
Link to this callback
lookup(arg0)
lookup(LibLatLon.Coords.t() | binary()) :: {:ok, LibLatLon.Info.t()} | {:error, any()}
Performs either a normal lookup by any string or a reverse lookup by latitude and longitude
Returns a name of this provider to display