com.partnersoft.maps.model
Class TiledRasterSet

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

public class TiledRasterSet
extends java.lang.Object
implements RasterSet

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

Author:
Paul Reavis Copyright 2005 Partner Software, Inc.

Constructor Summary
TiledRasterSet()
           
 
Method Summary
 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TiledRasterSet

public TiledRasterSet()
Method Detail

imagesInside

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

Specified by:
imagesInside in interface RasterSet

isVisible

public boolean isVisible()
Specified by:
isVisible in interface RasterSet

setVisible

public void setVisible(boolean tizit)
Specified by:
setVisible in interface RasterSet

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.