Class LevelOfDetail


  • public final class LevelOfDetail
    extends java.lang.Object
    Represents a single level of detail in a tiled map service. Each instance can be queried for its level, resolution and scale.
    Since:
    100.0.0
    • Constructor Summary

      Constructors 
      Constructor Description
      LevelOfDetail​(int level, double resolution, double scale)
      Creates a new level of detail.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getLevel()
      Gets the level.
      double getResolution()
      Gets the resolution.
      double getScale()
      Gets the scale.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LevelOfDetail

        public LevelOfDetail​(int level,
                             double resolution,
                             double scale)
        Creates a new level of detail.
        Parameters:
        level - level value
        resolution - resolution value
        scale - scale value
        Since:
        100.1.0
    • Method Detail

      • getLevel

        public int getLevel()
        Gets the level.
        Returns:
        the level
        Since:
        100.0.0
      • getResolution

        public double getResolution()
        Gets the resolution.
        Returns:
        the resolution
        Since:
        100.0.0
      • getScale

        public double getScale()
        Gets the scale.
        Returns:
        the scale
        Since:
        100.0.0