org.epseelon.mobimap.tiles.google
Class GoogleMapTileFactory

java.lang.Object
  extended by org.epseelon.mobimap.tiles.TileFactory
      extended by org.epseelon.mobimap.tiles.AbstractTileFactory
          extended by org.epseelon.mobimap.tiles.google.GoogleMapTileFactory

public class GoogleMapTileFactory
extends AbstractTileFactory

Version:
14 juin 2008, 15:51:46
Author:
sarbogast

Constructor Summary
GoogleMapTileFactory(javax.microedition.lcdui.Canvas canvasToRepaintWhenLoaded, int cacheSize)
          Creates a new instance of TileFactory
 
Method Summary
protected  java.lang.String getCoordinatePart(int x, int y, int referenceZoom)
           
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

GoogleMapTileFactory

public GoogleMapTileFactory(javax.microedition.lcdui.Canvas canvasToRepaintWhenLoaded,
                            int cacheSize)
Creates a new instance of TileFactory

Method Detail

getCoordinatePart

protected java.lang.String getCoordinatePart(int x,
                                             int y,
                                             int referenceZoom)
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.