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

commit

parent d003aa10
......@@ -121,11 +121,11 @@ extension ViewController: ModelDelegate {
// creating a graph between vertices
mapView?.addOverlay(dashline)
if !mapView.model.graphsBuilt { mapView.model.graphsBuilt = true }
if !mapView.model.graphsBuilt {
mapView.model.graphsBuilt = true
}
#if DEBUG
print("graphs count:", mapView.overlays.count)
#endif
} else {
let alert = UIAlertController(title: "Point is too far away!",
message: "The distance between the vertices should not be more than 5 km.",
......
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