public class IlvRegionOfInterestTileLoader extends IlvMapTileLoader
IlvRegionOfInterestTileLoader implements a tile loader that loads 
 data from a tilable database on demand. This class relies on an 
 IlvMapRegionOfInterestIterator instance whose 
 region of interest is set according to tile bounds.| Constructor and Description | 
|---|
| IlvRegionOfInterestTileLoader(IlvInputStream stream)Constructs a tile loader from serialized data. | 
| IlvRegionOfInterestTileLoader(IlvMapRegionOfInterestIterator reader,
                             boolean usingGeodeticComputation)Creates an  IlvRegionOfInterestTileLoaderinstance that will 
 delegate data extraction to a specificIlvMapRegionOfInterestIteratorobject. | 
| Modifier and Type | Method and Description | 
|---|---|
| static IlvMapStyle | createDefaultFeatureStyle(Class<?> geometryClass)Deprecated.   | 
| IlvFeatureRenderer | getDefaultFeatureRenderer()Returns the default feature renderer used to render the map features of 
 this tile. | 
| IlvMapFeatureIterator | getFeatureIterator(IlvTile tile)Returns an  IlvMapFeatureIteratorused to iterate over map 
 features within the bounds of the tiles specified. | 
| boolean | isPersistent()Tests if this tile loader can be saved. | 
| protected boolean | isUsingGeodeticComputation()Indicates if this tile loader should use geodetic computation. | 
| void | load(IlvTile tile)Method called when a tile has to be loaded. | 
| void | write(IlvOutputStream stream)Writes this tile loader to a specific  IlvOutputStream. | 
getFeatureRenderer, isAttachingAttributes, release, setAttachingAttributes, setFeatureRendererpublic IlvRegionOfInterestTileLoader(IlvMapRegionOfInterestIterator reader, boolean usingGeodeticComputation)
IlvRegionOfInterestTileLoader instance that will 
 delegate data extraction to a specific 
 IlvMapRegionOfInterestIterator object.reader - The underlying IlvMapRegionOfInterestIterator.usingGeodeticComputation - Set to true for rendering 
 to take date line wrapping into account.public IlvRegionOfInterestTileLoader(IlvInputStream stream) throws IlvReadFileException
stream - The input stream to read from.IlvReadFileException - if there is a problem reading from 
 stream.public void write(IlvOutputStream stream) throws IOException
IlvOutputStream.write in interface IlvPersistentObjectwrite in interface IlvTileLoaderwrite in class IlvMapTileLoaderstream - The IlvOutputStream to write this object to.IOException - if there is a problem writing to stream.public boolean isPersistent()
isPersistent in interface IlvTileLoaderisPersistent in class IlvMapTileLoadertrue is returned.public IlvMapFeatureIterator getFeatureIterator(IlvTile tile) throws Exception
IlvMapFeatureIterator used to iterate over map 
 features within the bounds of the tiles specified.getFeatureIterator in class IlvMapTileLoadertile - The IlvTile to load.IlvMapFeatureIterator of map features.Exception - if a runtime exception occurred during iterator creation.public IlvFeatureRenderer getDefaultFeatureRenderer()
This default feature renderer is used when the user does not set a specific feature renderer.
getDefaultFeatureRenderer in class IlvMapTileLoaderIlvFeatureRenderer for this tile loader.@Deprecated public static IlvMapStyle createDefaultFeatureStyle(Class<?> geometryClass)
geometryClass - subclassIlvDataSourceStylingFactory.createDefaultFeatureStyle(Class, Object, boolean)public void load(IlvTile tile) throws Exception
getFeatureIterator(), and then adds all objects to the tile
 using the feature renderer of this tile loader.
 getFeatureIterator() returns null, the
 specified tile is assumed to be inexistent and
 tile.loadComplete() is called.load in interface IlvTileLoaderload in class IlvMapTileLoadertile - The tile to load.Exception - if an error occurs when loading objects from
 the specified tile.protected boolean isUsingGeodeticComputation()
true is 
 returned.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.