The per-pass thickness split fragmented each segment into a run per weight change, turning a ~1.4k-segment network into ~84k polylines and janking the map. Draw one polyline per segment at its median-pass width instead (verified on device: 1430 vs 84083). Add buildRoadSegments (segment + bbox) and cullRoadsInto (draw only segments meeting the padded view, redraw on moveend/zoomend); the recording overlay now renders on a canvas pane instead of SVG, and showRoadsMap culls too. Thickness is now per-segment (median) rather than per-point — a deliberate simplification.
28 lines
706 B
TOML
28 lines
706 B
TOML
[package]
|
|
name = "baldav"
|
|
version = "0.1.515"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
name = "baldav_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2", features = [] }
|
|
|
|
[dependencies]
|
|
tauri = { version = "2", features = [] }
|
|
tauri-plugin-sql = { version = "2", features = ["sqlite"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
rusqlite = { version = "0.31", features = ["bundled"] }
|
|
|
|
lazy_static = "1"
|
|
ureq = "3"
|
|
base64 = "0.22"
|
|
|
|
[target.'cfg(not(target_os = "android"))'.dependencies]
|
|
btleplug = { version = "0.11", features = ["serde"] }
|
|
uuid = "1"
|
|
tokio = { version = "1", features = ["rt-multi-thread", "sync", "time"] }
|
|
tokio-stream = "0.1"
|