Thane Gill
![](https://secure.gravatar.com/avatar/343be97b55cba3ab0786c450b1be9244.png?d=retro&r=PG&s=240)
1pod
RxMKMapView is a Reactive wrapper for MKMapView delegate
.
RxMKMapView is available through CocoaPods. To install it, simply add the following line to your Podfile:
ruby
pod "RxMKMapView"
```swift
// MARK: Setup MKMapView
let mapView = MKMapView(frame: view.frame) view.addSubview(mapView)
// MARK: Respond to Loading Events mapView.rx.willStartLoadingMap .asDriver() .drive(onNext: { print("map started loadedloading) }) .disposed(by: disposeBag)
mapView.rx.didFinishLoadingMap .asDriver() .drive(onNext: { print("map finished loading") }) .disposed(by: disposeBag) ```
License: MIT