private void loadTile(String imagePath,int x,int y,int zoomLevel,Projection proj,OMGraphicList list){
  CacheObject ret=load(imagePath,x,y,zoomLevel,proj);
  if (ret == null) {
    ret=getEmptyTile(imagePath,x,y,zoomLevel,proj);
  }
  if (ret != null) {
    replaceLeastUsed(ret);
    OMGraphic raster=(OMGraphic)ret.obj;
    if (raster != null) {
      raster.generate(proj);
      list.add(raster);
      if (logger.isLoggable(Level.FINE)) {
        raster.putAttribute(OMGraphic.TOOLTIP,imagePath);
      }
    }
  }
}

private void loadTile ( String imagePath , int x , int y , int zoomLevel , Projection proj , OMGraphicList list ) { CacheObject ret = load ( imagePath , x , y , zoomLevel , proj ) ; if ( ret == null ) { ret = getEmptyTile ( imagePath , x , y , zoomLevel , proj ) ; } if ( ret != null ) { replaceLeastUsed ( ret ) ; OMGraphic raster = ( OMGraphic ) ret . obj ; if ( raster != null ) { raster . generate ( proj ) ; list . add ( raster ) ; if ( logger . isLoggable ( Level . FINE ) ) { raster . putAttribute ( OMGraphic . TOOLTIP , imagePath ) ; } } } }
handles going to the cache , getting the cache to load the tile , and then manage the resulting omraster tile . adds the tile to the list after generating it with the projection , and calls the repaintcallback if there is one .
