org.openstreetmap.gui.jmapviewer
Class OsmTileSource.Mapnik
java.lang.Object
org.openstreetmap.gui.jmapviewer.OsmTileSource.AbstractOsmTileSource
org.openstreetmap.gui.jmapviewer.OsmTileSource.Mapnik
- All Implemented Interfaces:
- TileSource
- Enclosing class:
- OsmTileSource
public static class OsmTileSource.Mapnik
- extends OsmTileSource.AbstractOsmTileSource
Field Summary |
static java.lang.String |
NAME
|
Method Summary |
java.lang.String |
getName()
A tile layer name has to be unique and has to consist only of characters
valid for filenames. |
TileSource.TileUpdate |
getTileUpdate()
|
java.lang.String |
getTileUrl(int zoom,
int tilex,
int tiley)
Constructs the tile url. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NAME
public static java.lang.String NAME
OsmTileSource.Mapnik
public OsmTileSource.Mapnik()
getName
public java.lang.String getName()
- Description copied from interface:
TileSource
- A tile layer name has to be unique and has to consist only of characters
valid for filenames.
- Returns:
- Name of the tile layer
getTileUrl
public java.lang.String getTileUrl(int zoom,
int tilex,
int tiley)
- Description copied from interface:
TileSource
- Constructs the tile url.
- Specified by:
getTileUrl
in interface TileSource
- Overrides:
getTileUrl
in class OsmTileSource.AbstractOsmTileSource
- Returns:
- fully qualified url for downloading the specified tile image
getTileUpdate
public TileSource.TileUpdate getTileUpdate()
- Returns:
- The supported tile update mechanism
- See Also:
TileSource.TileUpdate