def region=(args)
      case args
        when Hash
          self.setRegion(CoordinateRegion.new(args[:region]).api, animated: args[:animated])
        else
          self.setRegion(CoordinateRegion.new(args).api, animated: false)
      end
    end
def region=(args)
      case args
        when Hash
          self.setRegion(CoordinateRegion.new(args[:region]).api, animated: args[:animated])
        else
          self.setRegion(CoordinateRegion.new(args).api, animated: false)
      end
    end
def region = ( args ) case args when Hash self . setRegion ( CoordinateRegion . new ( args [ :region ] ) . api , animated : args [ :animated ] ) else self . setRegion ( CoordinateRegion . new ( args ) . api , animated : false ) end end
Set the maps region

 * *Args*    :
    region = CoordinateRegion.new([56, 10.6], [3.1, 3.1])
    region = {:region => CoordinateRegion.new([56, 10.6], [3.1, 3.1]), :animated => false}
Set the maps region