com.supermap.services.wmts
Class ScaleMember
- java.lang.Object
-
- com.supermap.services.wmts.ScaleMember
-
public class ScaleMember extends java.lang.Objectthe scale.
The sub item of the general scale set (
WellknownScale), which includes two attributes: scale denominator and pixel size, where the pixel size units have different definitions in different general scale sets.
-
-
Constructor Summary
Constructors Constructor and Description ScaleMember(double scaleDenominator, double pixelSize)The Constructor.
-
Method Summary
Methods Modifier and Type Method and Description doublegetPixelSize()Gets the pixel size.doublegetScaleDenominator()Gets the scale denominator.voidsetPixelSize(double pixelSize)Sets the pixel size.voidsetScaleDenominator(double scaleDenominator)Sets the scale denominator.
-
-
-
Constructor Detail
-
ScaleMember
public ScaleMember(double scaleDenominator, double pixelSize)The Constructor.
- Parameters:
scaleDenominator- scale denominator.pixelSize- pixel size.
-
-
Method Detail
-
setScaleDenominator
public final void setScaleDenominator(double scaleDenominator)
Sets the scale denominator.
- Parameters:
scaleDenominator- scale denominator.
-
getScaleDenominator
public final double getScaleDenominator()
Gets the scale denominator.
- Returns:
- the scale denominator.
-
setPixelSize
public final void setPixelSize(double pixelSize)
Sets the pixel size.
- Parameters:
pixelSize- pixel size.
-
getPixelSize
public final double getPixelSize()
Gets the pixel size.
- Returns:
- the pixel size.
-
-