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

GoogleMaps provider implementation.

Link to this section Summary

Functions

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

Link to this section Functions

Link to this function

lookup(input, opts \\ defaults())

View Source

Specs

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.