Geolixir.Result (geolixir v0.1.0)

View Source

Represents a standardized result from a geocoding or reverse geocoding operation.

This struct consolidates information parsed from various provider responses into a consistent format.

Summary

Types

t()

The struct holding standardized geolocation results.

Types

t()

@type t() :: %Geolixir.Result{
  bounds: Geolixir.Bounds.t() | nil,
  coordinates: Geolixir.Coords.t() | nil,
  location: Geolixir.Location.t() | nil,
  metadata: map() | nil
}

The struct holding standardized geolocation results.

  • :coordinates: A Geolixir.Coords struct with latitude and longitude.
  • :bounds: A Geolixir.Bounds struct representing the bounding box, if available.
  • :location: A Geolixir.Location struct containing address components.
  • :metadata: The original, raw response map from the provider for debugging or accessing provider-specific fields.