Crates.io | brouter-client |
lib.rs | brouter-client |
version | 0.1.3 |
source | src |
created_at | 2023-07-09 11:50:33.763365 |
updated_at | 2023-07-14 20:49:08.870528 |
description | API Client implement for brouter |
homepage | |
repository | |
max_upload_size | |
id | 912017 |
size | 46,718 |
This rust crate contains a simple client for the API of brouter, a routing engine based on openstreetmap data.
use brouter_client::{Brouter, Point};
let router = Brouter::default();
let gpx = router.broute(&[Point::new(52.3676, 4.9041), Point::new(52.0907, 5.1214)], &[], "trekking", None, None);