younger_times
2023-08-08 47a58a1a7d967464e93410e04791aaa4756c1cbd
WanPai/Root/Search/VC/SearchVC.swift
@@ -13,6 +13,7 @@
    @IBOutlet weak var banner_collectionView: UICollectionView!
    @IBOutlet weak var label_empty: UILabel!
    @IBOutlet weak var view_container: UIView!
   @IBOutlet weak var cons_CollectionAspect: NSLayoutConstraint!
    private var models = [StartClouseExploreModel]()
    private lazy var mapView:MAMapView = {
@@ -38,7 +39,9 @@
                self?.models = models
                self?.loadMap()
                self?.banner_collectionView.reloadData()
            }
         }else{
         }
        }).disposed(by: disposeBag)
    }
@@ -126,17 +129,6 @@
}
extension SearchVC:MAMapViewDelegate{
    func mapViewDidStopLocatingUser(_ mapView: MAMapView!) {
        print("--->停止")
    }
    func mapView(_ mapView: MAMapView!, didUpdate userLocation: MAUserLocation!, updatingLocation: Bool) {
        print("--->更新")
    }
    func mapViewWillStartLocatingUser(_ mapView: MAMapView!) {
        print("--->开始")
    }
    func mapView(_ mapView: MAMapView!, viewFor annotation: MAAnnotation!) -> MAAnnotationView! {
        if annotation is MAPointAnnotation{