StrawHat.Map v2.0.0 StrawHat.Map.Location View Source
A location entity.
Link to this section Summary
Link to this section Types
Link to this type
location_attrs() View Source
Link to this type
t()
View Source
t()
View Source
t() :: %StrawHat.Map.Location{
__meta__: term(),
address: Schema.belongs_to(StrawHat.Map.Address.t()),
address_id: String.t(),
id: String.t(),
inserted_at: DateTime.t(),
location: Geo.Point.t(),
updated_at: DateTime.t()
}
t() :: %StrawHat.Map.Location{
__meta__: term(),
address: Schema.belongs_to(StrawHat.Map.Address.t()),
address_id: String.t(),
id: String.t(),
inserted_at: DateTime.t(),
location: Geo.Point.t(),
updated_at: DateTime.t()
}
location: a GeoJSON point usingGeo.Point.t/0.
Link to this section Functions
Link to this function
changeset(location, location_attrs)
View Source
changeset(location, location_attrs)
View Source
changeset(t(), location_attrs()) :: Ecto.Changeset.t()
changeset(t(), location_attrs()) :: Ecto.Changeset.t()