de.fhpotsdam.unfolding.providers
Class ThunderforestProvider.GenericThunderforestProvider

java.lang.Object
  extended by de.fhpotsdam.unfolding.providers.AbstractMapProvider
      extended by de.fhpotsdam.unfolding.providers.AbstractMapTileUrlProvider
          extended by de.fhpotsdam.unfolding.providers.ThunderforestProvider.GenericThunderforestProvider
Direct Known Subclasses:
ThunderforestProvider.Landscape, ThunderforestProvider.OpenCycleMap, ThunderforestProvider.Outdoors, ThunderforestProvider.Transport
Enclosing class:
ThunderforestProvider

public abstract static class ThunderforestProvider.GenericThunderforestProvider
extends AbstractMapTileUrlProvider


Field Summary
 
Fields inherited from class de.fhpotsdam.unfolding.providers.AbstractMapProvider
projection
 
Constructor Summary
ThunderforestProvider.GenericThunderforestProvider()
           
 
Method Summary
abstract  java.lang.String[] getTileUrls(Coordinate coordinate)
          Gets tile URLs for coordinate.
 java.lang.String getZoomString(Coordinate coordinate)
           
 int tileHeight()
           
 int tileWidth()
           
 
Methods inherited from class de.fhpotsdam.unfolding.providers.AbstractMapTileUrlProvider
getTile
 
Methods inherited from class de.fhpotsdam.unfolding.providers.AbstractMapProvider
coordinateLocation, locationCoordinate, random, sourceCoordinate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThunderforestProvider.GenericThunderforestProvider

public ThunderforestProvider.GenericThunderforestProvider()
Method Detail

getZoomString

public java.lang.String getZoomString(Coordinate coordinate)

tileWidth

public int tileWidth()
Specified by:
tileWidth in class AbstractMapProvider

tileHeight

public int tileHeight()
Specified by:
tileHeight in class AbstractMapProvider

getTileUrls

public abstract java.lang.String[] getTileUrls(Coordinate coordinate)
Description copied from class: AbstractMapProvider
Gets tile URLs for coordinate. May return multiple URLs, if provider handles multiple layers. Either this or @{link #getTile(Coordinate)} has to be implemented.

Specified by:
getTileUrls in class AbstractMapProvider
Parameters:
coordinate - The position and zoom to get tile for.
Returns:
An array with tile URLs (mostly just one)