Method: Mapstatic::Tile#initialize
- Defined in:
- lib/mapstatic/tile.rb
#initialize(x, y, zoom) ⇒ Tile
Returns a new instance of Tile.
6 7 8 9 10 |
# File 'lib/mapstatic/tile.rb', line 6 def initialize(x,y,zoom) @x = x.floor @y = y.floor @zoom = zoom end |