com.partnersoft.maps.model
Class TiledRasterSet
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TiledRasterSet
public TiledRasterSet()
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.