Class ILspScaleLevelProvider.ScaleLevel
java.lang.Object
com.luciad.view.lightspeed.controller.navigation.ILspScaleLevelProvider.ScaleLevel
- Enclosing interface:
ILspScaleLevelProvider
A scale level object. Contains a scale value and a name.
- Since:
- 2012.0
-
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'sILcdXYZWorldReference
. Hence, increasing the scale zooms in, and decreasing the scale zooms out.- Returns:
- the scale value.
-