Class TLcdGXYRasterBasedScaleLevelProvider

java.lang.Object
com.luciad.earth.view.gxy.TLcdGXYRasterBasedScaleLevelProvider
All Implemented Interfaces:
ILcdGXYScaleLevelProvider

public class TLcdGXYRasterBasedScaleLevelProvider extends Object implements ILcdGXYScaleLevelProvider
Provides the scale levels for the first raster under the mouse cursor. This raster can be
  • an ILcdRaster
  • an ILcdMultilevelRaster
  • an ILcdEarthTileSet
Since:
2013.1.31
  • Constructor Details

    • TLcdGXYRasterBasedScaleLevelProvider

      public TLcdGXYRasterBasedScaleLevelProvider()
  • Method Details

    • getScaleLevels

      public ILcdGXYScaleLevelProvider.ScaleLevel[] getScaleLevels(int aX, int aY, ILcdGXYView aView)
      Description copied from interface: ILcdGXYScaleLevelProvider

      Returns the scale levels for the given view point. The scales should be in order, from smallest to largest. The scale levels can be based on the given view coordinate, for example the ideal scales for a raster under this view position.

      Specified by:
      getScaleLevels in interface ILcdGXYScaleLevelProvider
      Parameters:
      aX - an x view coordinate
      aY - an y view coordinate
      aView - the view
      Returns:
      the scale levels for the given view point.