I've stucked with the task of drawing lines between coordinates. In fact I need to draw 20 tubes between some CLCoordinates. So I took as base this project.
I've managed to draw some tubes, but stack with the quantity. My code only can store 2 pipes, no more and I can't figure how to fix it. Also there is a huge problem with determing geoposition. The pipes are "dancing" on the screen and are not stable at coordinates.
Here is the GitHub project.
The main code is in SceneLocationView.swift
in the Source file.
In ViewController.swift
there are coordinates to change