         let canFitTopOrBottom = viewSize.width - annotationCenter.x > 0.5*popoverSize.width && annotationCenter.x > 0.5*popoverSize.width
         let fitsTop = top < 0 && canFitTopOrBottom
         let fitsBottom = bottom < 0 && canFitTopOrBottom
-        
         
         let canFitLeftOrRight = viewSize.height - annotationCenter.y > 0.5*popoverSize.height && annotationCenter.y > 0.5*popoverSize.width
         let fitsLeft = left < 0 && canFitLeftOrRight

    func adjustLayout(ofPopover articleVC: ArticlePopoverViewController, withSize popoverSize: CGSize, viewSize: CGSize, forAnnotationView annotationView: MKAnnotationView) {
        var preferredLocations = [PopoverLocation]()
        
        if let groupAnnotationView = placeGroupAnnotationView {
            let adjustedCenter = view.convert(annotationView.center, from: annotationView.superview)
            let adjustedGroupCenter = view.convert(groupAnnotationView.center, from: groupAnnotationView.superview)

        
        articleVC.view.alpha = 0
        addChildViewController(articleVC)
    
        view.insertSubview(articleVC.view, aboveSubview: placeGroupVC?.view ?? mapView)
        articleVC.didMove(toParentViewController: self)
        
        let size = articleVC.view.systemLayoutSizeFitting(UILayoutFittingCompressedSize)
