 import RxCocoa
 import RxSwift
 import UIKit
+import CoreLocation
 
 class InitialViewController: UIViewController {
 

            .addDisposableTo(disposeBag)

        searchLocationButton.rx.tap
            .bindNext { [weak self] in
                self?.spinner?.startAnimating()
                self?.performSegue(withIdentifier: "shownearstops", sender: nil)
            }
            .addDisposableTo(disposeBag)
    }

    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        let viewModel = NearBusStopCoordinatesViewModel(latitude: 39.861293, longitude: -4.026146, meters: 1000)
        let vc = segue.destination as? NearBusStopsViewController
        
        vc?.viewModel = viewModel
    }

}


    private var spinner: UIActivityIndicatorView?

	private var locationService = GeolocationService.instance

	override func viewWillAppear(_ animated: Bool) {
		super.viewWillAppear(animated)
		setUpRx()
	}

	override func viewWillDisappear(_ animated: Bool) {
		super.viewWillDisappear(animated)
		disposeBag = DisposeBag()
	}

    private func setUpRx() {
        metersSlider.rx.value
