Class ILcdGXYScaleLevelProvider.ScaleLevel

java.lang.Object
com.luciad.view.gxy.controller.ILcdGXYScaleLevelProvider.ScaleLevel
Enclosing interface:
ILcdGXYScaleLevelProvider

public static class ILcdGXYScaleLevelProvider.ScaleLevel extends Object
A scale level object. Contains a scale value and a name.
Since:
2013.1.31
  • Constructor Details

    • ScaleLevel

      public ScaleLevel(String aName, double aScale)
      Creates a new scale level with the given scale and name.
      Parameters:
      aName - a name.
      aScale - the scale value.
  • Method Details

    • getName

      public String getName()
      Returns the name of this scale level.
      Returns:
      the name of this scale level.
    • getScale

      public double getScale()
      Returns the scale value. The scale corresponds to the number of pixels per world unit, as determined by the view's ILcdXYWorldReference. Hence, increasing the scale zooms in, and decreasing the scale zooms out.
      Returns:
      the scale value.