Interface ZoomContext

    • Field Summary

      Modifier and Type Field Description
      static String HINT_ID  
    • Method Detail

      • getScaleDenominator

        double getScaleDenominator​(int level)
        Find the reciprocal of the scale at a specified zoom level in this context.
        level - The level
        The scale denominator
      • getRange

        ScaleRange getRange​(@Nullable
                            Integer min,
                            Integer max)
        Return a scale range covering the specified zoom level but no others.
        min - Minimum zoom level. Absent for open ended.
        max - Maximum zoom level. Absent for open ended.
      • isInRange

        boolean isInRange​(int level)
        Is the given level within the range for which the context has clearly defined scales.