org.epseelon.mobimap.tiles.yahoo
Class AbstractYahooTileFactory

java.lang.Object
  extended by org.epseelon.mobimap.tiles.TileFactory
      extended by org.epseelon.mobimap.tiles.AbstractTileFactory
          extended by org.epseelon.mobimap.tiles.yahoo.AbstractYahooTileFactory
Direct Known Subclasses:
YahooMapTileFactory, YahooSatelliteTileFactory

public abstract class AbstractYahooTileFactory
extends AbstractTileFactory

Version:
15 juin 2008, 19:51:22
Author:
sarbogast

Constructor Summary
AbstractYahooTileFactory(javax.microedition.lcdui.Canvas canvasToRepaintWhenLoaded, int cacheSize, java.lang.String provider, java.lang.String mode, java.lang.String baseUrl)
          Creates a new instance of TileFactory
 
Method Summary
protected  java.lang.String getCoordinatePart(int x, int y, int zoom)
           
protected  int getParticularZoomFromReferenceZoom(int referenceZoom)
           
protected  int getReferenceZoomFromParticularZoom(int particularZoom)
           
 
Methods inherited from class org.epseelon.mobimap.tiles.AbstractTileFactory
getTile, getTileUrl, startLoading
 
Methods inherited from class org.epseelon.mobimap.tiles.TileFactory
geoToPixel, getInfo, getMapSize, getTileSize, pixelToGeo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractYahooTileFactory

public AbstractYahooTileFactory(javax.microedition.lcdui.Canvas canvasToRepaintWhenLoaded,
                                int cacheSize,
                                java.lang.String provider,
                                java.lang.String mode,
                                java.lang.String baseUrl)
Creates a new instance of TileFactory

Method Detail

getCoordinatePart

protected java.lang.String getCoordinatePart(int x,
                                             int y,
                                             int zoom)
Specified by:
getCoordinatePart in class TileFactory

getParticularZoomFromReferenceZoom

protected int getParticularZoomFromReferenceZoom(int referenceZoom)
Specified by:
getParticularZoomFromReferenceZoom in class TileFactory

getReferenceZoomFromParticularZoom

protected int getReferenceZoomFromParticularZoom(int particularZoom)
Specified by:
getReferenceZoomFromParticularZoom in class TileFactory


Copyright © 2008 Epseelon. All Rights Reserved.