Package com.luciad.view.gxy.controller
Class ILcdGXYScaleLevelProvider.ScaleLevel
java.lang.Object
com.luciad.view.gxy.controller.ILcdGXYScaleLevelProvider.ScaleLevel
- Enclosing interface:
ILcdGXYScaleLevelProvider
A scale level object. Contains a scale value and a name.
- Since:
- 2013.1.31
-
Constructor Summary
ConstructorDescriptionScaleLevel
(String aName, double aScale) Creates a new scale level with the given scale and name. -
Method Summary
-
Constructor Details
-
ScaleLevel
Creates a new scale level with the given scale and name.- Parameters:
aName
- a name.aScale
- the scale value.
-
-
Method Details
-
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'sILcdXYWorldReference
. Hence, increasing the scale zooms in, and decreasing the scale zooms out.- Returns:
- the scale value.
-