 class BekijkWandelingController: UIViewController {
 
     var locations = [CLLocation]()
+
+    var rotatorStrings = [String]()
+    var rotatorPhase = 0
+    var rotatorTimer: NSTimer? = nil
 
     var filenaam: String = "" {
         didSet {

        mapView.setVisibleMapRect(zoomRect, edgePadding: UIEdgeInsetsMake(150,150,150,150), animated: true)
        }

    // Draw the polyline.
    func mapView(mapView: MKMapView, rendererForOverlay overlay: MKOverlay) -> MKOverlayRenderer! {
        if overlay is MKPolyline {

            }
        return nil
        }


    func rotatorNext() {
        if rotatorPhase >= rotatorStrings.count {
            rotatorPhase = 0
            }
        if rotatorPhase < rotatorStrings.count {
            infoLabel.text = rotatorStrings[rotatorPhase]
            }
        else {
            infoLabel.text = ""
            }
        rotatorPhase += 1
        }


    }

