mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-10-27 02:27:18 +00:00
route - track conversion
This commit is contained in:
1 parent
b6c0f5190a
commit
764d0b233a
15 files changed
+268
-3
No files matched your search
@@ -18,6 +18,12 @@ pub fn style(color: Option<String>, opacity: Option<f64>, width: Option<f64>) ->
|
||||
run(|e| api::style(e, color.as_deref(), opacity, width))
|
||||
}
|
||||
|
||||
/// Converts the selected routes to tracks, or the selected tracks or segments to routes.
|
||||
#[wasm_bindgen]
|
||||
pub fn convert() -> Outcome {
|
||||
run(api::convert)
|
||||
}
|
||||
|
||||
#[wasm_bindgen]
|
||||
pub fn new_route() -> Outcome {
|
||||
run(api::new_route)
|
||||
|
||||
Reference in new issue
Block a user