View Source Mobilizon.Service.Geospatial.Photon (Mobilizon v5.0.0-beta.1)

Photon backend.

Summary

Functions

Link to this function

geocode(lon, lat, options \\ [])

View Source
@spec geocode(number(), number(), keyword()) :: [Mobilizon.Addresses.Address.t()]

Photon implementation for Mobilizon.Service.Geospatial.Provider.geocode/3.

Note: It seems results are quite wrong.

Link to this function

search(q, options \\ [])

View Source
@spec search(
  String.t(),
  keyword()
) :: [Mobilizon.Addresses.Address.t()]

Photon implementation for Mobilizon.Service.Geospatial.Provider.search/2.