Class ContinuousZoomContext

    • Constructor Detail

      • ContinuousZoomContext

        public ContinuousZoomContext()
    • Method Detail

      • getScaleDenominator

        protected abstract double getScaleDenominator​(double level)
        Find the reciprocal of the scale at a specified zoom level in this context.
        Parameters:
        level - The level
        Returns:
        The scale denominator
      • getScaleDenominator

        public double getScaleDenominator​(int level)
        Find the reciprocal of the scale at a specified zoom level in this context.
        Specified by:
        getScaleDenominator in interface ZoomContext
        Parameters:
        level - The level
        Returns:
        The scale denominator
      • getMedialScale

        protected double getMedialScale​(int level)
        Get a scale between the given zoom level and the next
        Specified by:
        getMedialScale in class MedialZoomContext