     // MARK: Callout Pin
 
     public func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
-        if !calloutPin {
+        if !callout {
             return nil
         }
 

    }

    public func mapView(_ mapView: MKMapView, didSelect view: MKAnnotationView) {
        if let annotation = view.annotation as? GPointAnnotation {
            annotation.performClick()
        }


        let view: MKPinAnnotationView
        if let annotationView = mapView.dequeueReusableAnnotationView(withIdentifier: identifier) as? MKPinAnnotationView {
            view = annotationView
        } else {
            view = MKPinAnnotationView(annotation: annotation, reuseIdentifier: identifier)
        }

        view.canShowCallout = true
        view.rightCalloutAccessoryView = UIButton(type: .detailDisclosure)

        let subtitle = UILabel(frame: CGRect(x: 0, y: 0, width: 200, height: 21))
        subtitle.text = annotation.subtitle ?? ""
        subtitle.numberOfLines = 0
        view.detailCalloutAccessoryView = subtitle

        return view
    }

    public func mapView(_: MKMapView, annotationView view: MKAnnotationView, calloutAccessoryControlTapped _: UIControl) {
        if let annotation = view.annotation as? GPointAnnotation {
            annotation.performClick()
        } else {
            let annotation = view.annotation
            if let coordinate = annotation?.coordinate {
                let placemark = MKPlacemark(coordinate: coordinate)
                let mapItem = MKMapItem(placemark: placemark)
                if let title = annotation?.title {
                    mapItem.name = title
                }
                mapItem.openInMaps(launchOptions: nil)
            }
        }
    }
}
