de.fhpotsdam.unfolding.providers
Class MapQuestProvider.GenericMapQuestProvider

java.lang.Object
  extended by de.fhpotsdam.unfolding.providers.AbstractMapProvider
      extended by de.fhpotsdam.unfolding.providers.AbstractMapTileUrlProvider
          extended by de.fhpotsdam.unfolding.providers.MapQuestProvider.GenericMapQuestProvider
Direct Known Subclasses:
MapQuestProvider.Aerial, MapQuestProvider.OSM
Enclosing class:
MapQuestProvider

public abstract static class MapQuestProvider.GenericMapQuestProvider
extends AbstractMapTileUrlProvider


Field Summary
 
Fields inherited from class de.fhpotsdam.unfolding.providers.AbstractMapProvider
projection
 
Constructor Summary
MapQuestProvider.GenericMapQuestProvider()
           
 
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

MapQuestProvider.GenericMapQuestProvider

public MapQuestProvider.GenericMapQuestProvider()
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)