com.maryanovsky.map.client
Interface TileLayer

All Known Implementing Classes:
TileSetLayer

public interface TileLayer

Defines the conversion from pixel map coordinates to the map tiles displayed on the map.

Author:
Maryanovsky Alexander

Method Summary
 SizeView getTileSize()
          Returns the size of the tiles.
 String getTileUrl(int x, int y, int zoom)
          Returns the URL of the tile to display at the specified location (in pixels) and zoom.
 

Method Detail

getTileSize

SizeView getTileSize()
Returns the size of the tiles.


getTileUrl

String getTileUrl(int x,
                  int y,
                  int zoom)
Returns the URL of the tile to display at the specified location (in pixels) and zoom. Returns null if there is no tile at the specified location, if, for example, it is outside the boundaries of the map.