     }
 }
 
-extension AirSpaceClass {
-    var color: UIColor {
+public extension AirSpaceClass {
+    public var color: UIColor {
         switch self {
         case .Danger:
             return .black

import MapKit

public class AirSpaceMapDelegate: NSObject, MKMapViewDelegate {
    var airspaceTable = [MKPolygon: AirSpace]()
    
    public var polygons = [MKPolygon]()
    

        polygons = airspaces.map {
            let coords = $0.polygonCoordinates
            let polygon = MKPolygon(coordinates: coords, count: coords.count)
            self._airspaceTable[polygon] = $0
            return polygon
        }
    }
