Scott Gardner
![](https://secure.gravatar.com/avatar/eacfbb9e5bb4a4432bd629a8747f5d78.png?d=retro&r=PG&s=240)
2pods
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