MapScaleView_iOS_API
一个iOS swift Map ScaleView UI View组件
安装
Cocoapods
MapScaleView can be added to your project using CocoaPods 0.36 or later by adding the following line to your Podfile:
pod 'MapScaleView'
如何使用
let scale_view: UIMapScaleView
scale_view.setup(mapView) // initial
// implement from MKMapViewDelegate
func mapView(_ mapView: MKMapView, regionDidChangeAnimated animated: Bool)
{
scaleView.setNeedsLayout()
}