ilog.views.maps.tiling
Class IlvAreaOfInterestTile
java.lang.Object
ilog.views.tiling.IlvTile
ilog.views.tiling.IlvFreeTile
ilog.views.maps.IlvMapFreeTile
ilog.views.maps.tiling.IlvAreaOfInterestTile
- All Implemented Interfaces:
- IlvPersistentObject, IlvGeoreferencedTile
public class IlvAreaOfInterestTile
- extends IlvMapFreeTile
- implements IlvGeoreferencedTile
A IlvMapFreeTile that stores longitude and latitude bounds (for reprojection purposes).
- Since:
- JViews 7.5
IlvAreaOfInterestTile
public IlvAreaOfInterestTile(Point2D tileP1,
Point2D tileP2,
IlvTileController controller,
double lonMin,
double latMin,
double lonMax,
double latMax)
- Constructs a
IlvAreaOfInterestTile whose bounds are specified as well as georeferenced bounds
(in longitude and latitude). These georefererenced bounds are used when this tile is reprojected
The tile is created to be used with the specified tile controller.
- Parameters:
tileP1 - Upper left coordinate of the tile.tileP2 - Lower right coordinate of the tile.controller - The IlvTileController to which this tile will be added.lonMin - Minimum longitude of the area represented by this tile.latMin - Minimum latitude of the area represented by this tile.lonMax - Maximum longitude of the area represented by this tile.latMax - Maximum latitude of the area represented by this tile.
IlvAreaOfInterestTile
public IlvAreaOfInterestTile(IlvInputStream stream)
throws IlvReadFileException
- Constructs a
IlvAreaOfInterestTile from the specified input stream.
- Parameters:
stream - The IlvInputStream from which to construct this tile.
- Throws:
IlvReadFileException - if an error was encountered when deserializing this object.
write
public void write(IlvOutputStream stream)
throws IOException
- Writes the tile loader to an
IlvOutputStream
- Specified by:
write in interface IlvPersistentObject- Overrides:
write in class IlvFreeTile
- Parameters:
stream - the output stream
- Throws:
IOException - thrown when an exception occurs during
the write operation for this object.
getGeoreferencedBounds
public void getGeoreferencedBounds(IlvRect bounds)
- Returns the longitude and latitude bounds of the area represented by this tile.
- Specified by:
getGeoreferencedBounds in interface IlvGeoreferencedTile
- Parameters:
bounds - The IlvRect in which to store the georeferenced bounds.
Copyright © 1996-2007 ILOG S.A. All rights reserved. Documentation homepage.