check_coordinates

Function check_coordinates 

Source
pub fn check_coordinates(latitude: f64, longitude: f64) -> Result<()>
Expand description

Validates both latitude and longitude are within valid ranges.

ยงErrors

Returns InvalidLatitude or InvalidLongitude for out-of-range coordinates.