Verified Commit de9b7028 authored by asahiocean's avatar asahiocean 🚀
Browse files


parent fda6a4b5
......@@ -25,9 +25,7 @@ extension ViewController: ModelDelegate {
guard selected != nil else { return }
print("User selected endpoint!")
case Model.buttonTag.routecalc.rawValue:
print("Trying to make the shortest route!")
let coords = mapView.model.route.compactMap({ $0.coordinate })
for (i,coord) in coords.enumerated() {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment