Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.maryanovsky.map.client
Interface TileLayer

All Known Implementing Classes:
  OsmTileLayer, 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.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD