[−][src]Function kml::load
pub fn load(
path: &str,
gps_bounds: &GPSBounds,
require_all_pts_in_bounds: bool,
timer: &mut Timer<'_>
) -> Result<ExtraShapes>
Parses a .kml file and returns ExtraShapes. Objects will be clipped to the given gps_bounds. If require_all_pts_in_bounds is true, objects that're partly out-of-bounds will be skipped.