Function egg_mode::place::search_point
[−]
[src]
pub fn search_point(latitude: f64, longitude: f64) -> SearchBuilder<'static>
Begins building a location search via latitude/longitude.
Example
use egg_mode::place::{self, PlaceType}; let result = core.run(place::search_point(51.507222, -0.1275) .granularity(PlaceType::City) .call(&token, &handle)) .unwrap(); assert!(result.results.iter().any(|pl| pl.full_name == "London, England"));