Packages

Elixir client for Google Geolocation and Elevation APIs

Current section

Files

Jump to
geolocation_client lib entities location.ex
Raw

lib/entities/location.ex

defmodule GeolocationClient.Entities.Location do
@moduledoc """
Represents a location entity - full LLA
"""
defstruct [
:latitude,
:longitude,
:altitude
]
@type t :: %__MODULE__{
latitude: float(),
longitude: float(),
altitude: float()
}
end