com.partnersoft.maps.model
Class TiledRasterSet

java.lang.Object
  extended by com.partnersoft.maps.model.AbstractRasterSet
      extended by com.partnersoft.maps.model.TiledRasterSet
All Implemented Interfaces:
RasterSet

public class TiledRasterSet
extends AbstractRasterSet

A set of raster map images, separated into several levels of detail, each representing a regular tiling of the map area.

Copyright 2005-2008 Partner Software, Inc.

Version:
$Id: TiledRasterSet.java 2328 2010-01-06 15:38:22Z paul $
Author:
Paul Reavis

Constructor Summary
TiledRasterSet(VfsDirectory directory)
           
 
Method Summary
 void clearCaches()
           
 void flushCaches()
           
 java.lang.String getCacheUsageSummary()
          Returns a text summary of cache population and byte sizes.
 java.lang.String getName()
           
 RasterImage[] imagesInside(MapViewFrame frame)
          This returns the raster image data necessary to render a given area at the given scale.
 boolean isVisible()
           
static int packTileCoordinate(int x, int y)
           
 void setVisible(boolean tizit)
           
static int[] unpackTileCoordinate(int packedCoord)
          Unpacks a tile coordinate into an int array.
 
Methods inherited from class com.partnersoft.maps.model.AbstractRasterSet
addChangeListener, fireChanged, removeChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TiledRasterSet

public TiledRasterSet(VfsDirectory directory)
Method Detail

getName

public java.lang.String getName()

imagesInside

public RasterImage[] imagesInside(MapViewFrame frame)
This returns the raster image data necessary to render a given area at the given scale.


flushCaches

public void flushCaches()

clearCaches

public void clearCaches()

isVisible

public boolean isVisible()

setVisible

public void setVisible(boolean tizit)

packTileCoordinate

public static int packTileCoordinate(int x,
                                     int y)

unpackTileCoordinate

public static int[] unpackTileCoordinate(int packedCoord)
Unpacks a tile coordinate into an int array. Order is x, y.


getCacheUsageSummary

public java.lang.String getCacheUsageSummary()
Returns a text summary of cache population and byte sizes.

Returns: