lib/cloudmade/tiles.rb
def get_xy_tile(xtile, ytile, zoom, style_id = nil, tile_size = nil)
      style_id = self.default_style_id if style_id == nil
      tile_size = self.default_tile_size if tile_size == nil
      connect "/#{style_id}/#{tile_size}/#{zoom}/#{xtile}/#{ytile}.png"
    end
def get_xy_tile(xtile, ytile, zoom, style_id = nil, tile_size = nil)
      style_id = self.default_style_id if style_id == nil
      tile_size = self.default_tile_size if tile_size == nil
      connect "/#{style_id}/#{tile_size}/#{zoom}/#{xtile}/#{ytile}.png"
    end
Get tile with given x, y numbers and zoom
 Returns Raw PNG data which could be saved to file

 * +xtile+
 * +ytile+
 * +zoom+ Zoom level, on which tile is being requested
 * +style_id+ CloudMade's style id, if not given, default style is used (usually 1)
 * +tile_size+ size of tile, if not given the default 256 is used