     ///   - longitude: 軽度
     ///   - level: hexlevel
     /// - Returns: XYclass
-    class func getXY(latitude: Double, longitude: Double, level: Int) -> XY {
+    public class func getXY(latitude: Double, longitude: Double, level: Int) -> XY {
         let h_size = self.hexSize(level: level)
         let z_xy = self.loc2xy(latitude: latitude, longitude: longitude)
         let latitude_grid = z_xy.y

        return self.adjustXY(x: h_x, y: h_y, level: level)
    }
    
    class func getXY(code: String) -> XY {
        let level: Int = code.length - 2
        var h_x: Double = 0.0
        var h_y: Double = 0.0

        return self.adjustXY(x: h_x, y: h_y, level: level)
    }
    
    fileprivate class func adjustXY(x: Double, y: Double, level: Int) -> XY {
        var x = x
        var y = y
        
