Class NativeScaleLayer.Scale

    • Field Detail

      • isNative

        private final boolean isNative
        True if this scale is native resolution for data source.
      • index

        private final int index
    • Constructor Detail

      • Scale

        public Scale​(double scale,
                     int index)
        Constructs a new Scale with given scale, native defaults to true.
        Parameters:
        scale - as defined in WMTS (scaleDenominator)
        index - zoom index for this scale
      • Scale

        public Scale​(double scale,
                     boolean isNative,
                     int index)
        Constructs a new Scale with given scale, native and index values.
        Parameters:
        scale - as defined in WMTS (scaleDenominator)
        isNative - is this scale native to the source or not
        index - zoom index for this scale