View Source LibLatLon.Providers.OpenStreetMap (LibLatLon v0.7.0)
OpenStreetMap
provider implementation.
Link to this section Summary
Functions
Implements a lookup for OpenStreetMap
provider. Returns either
{:ok, %LibLatLon.Info{}}
or {:error, reason}
tuple.
Link to this section Functions
@spec lookup(LibLatLon.Coords.t() | String.t(), %{}) :: {:ok, LibLatLon.Info.t()} | {:error, any()}
Implements a lookup for OpenStreetMap
provider. Returns either
{:ok, %LibLatLon.Info{}}
or {:error, reason}
tuple.
Used internally by LibLatLon.lookup/1
.