Package com.luciad.earth.view.gxy
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
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.luciad.view.gxy.controller.ILcdGXYScaleLevelProvider
ILcdGXYScaleLevelProvider.ScaleLevel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetScaleLevels
(int aX, int aY, ILcdGXYView aView) Returns the scale levels for the given view point.
-
Constructor Details
-
TLcdGXYRasterBasedScaleLevelProvider
public TLcdGXYRasterBasedScaleLevelProvider()
-
-
Method Details
-
getScaleLevels
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 interfaceILcdGXYScaleLevelProvider
- Parameters:
aX
- an x view coordinateaY
- an y view coordinateaView
- the view- Returns:
- the scale levels for the given view point.
-