public class TLspRasterBasedScaleLevelProvider extends Object implements ILspScaleLevelProvider
ILspScaleLevelProvider
, provides the scale levels for the first raster under
the mouse cursor. This raster can be
ILcdRaster
ILcdMultilevelRaster
ILcdEarthTileSet
ILspScaleLevelProvider.ScaleLevel
Constructor and Description |
---|
TLspRasterBasedScaleLevelProvider() |
Modifier and Type | Method and Description |
---|---|
ILspScaleLevelProvider.ScaleLevel[] |
getScaleLevels(int aX,
int aY,
ILspView aView)
Returns the scale levels for the given view point.
|
public ILspScaleLevelProvider.ScaleLevel[] getScaleLevels(int aX, int aY, ILspView aView)
ILspScaleLevelProvider
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.
getScaleLevels
in interface ILspScaleLevelProvider
aX
- an x view coordinateaY
- an y view coordinateaView
- the view