pub fn get_placename(lat: f64, lon: f64) -> String
Expand description

Retrieve a place name from lat/lon pair via latlon.top

Arguments

  • lat: latitude (float)
  • lon: longitude (float)

"(lat, lon)" will be returned if there were any issues retrieving the reverse geocoded information.

This value is cached to prevent wasting CPU/bandwidth of latlon.top