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. |
||
|---|---|---|
| .. | ||
| bmr.js | ||
| chzn.js | ||
| db.js | ||
| gps.js | ||
| main.js | ||
| poi.js | ||
| router.js | ||
| tilecache.js | ||