View Source LibLatLon.Providers.GoogleMaps (LibLatLon v0.8.0)

GoogleMaps provider implementation.

Summary

Functions

Implements a lookup for GoogleMaps provider. Returns either {:ok, %LibLatLon.Info{}} or {:error, reason} tuple.

Functions

Link to this function

lookup(input, opts \\ %{})

View Source
@spec lookup(LibLatLon.Coords.t() | String.t(), %{}) ::
  {:ok, LibLatLon.Info.t()} | {:error, any()}

Implements a lookup for GoogleMaps provider. Returns either {:ok, %LibLatLon.Info{}} or {:error, reason} tuple.

Used internally by LibLatLon.lookup/1.