Class ZoomMinMaxRule

    • Constructor Detail

      • ZoomMinMaxRule

        public ZoomMinMaxRule​(Float minZoomFactor,
                              Float maxZoomFactor)
        Deprecated.
        Use ClientConfigurationManager.getClientConfiguration().setMaxZoomFactor(float) and ClientConfigurationManager.getClientConfiguration().setMinZoomFactor(float) instead
        Sets the minimum and maximum allowed zoom factors.
        Parameters:
        minZoomFactor - The minimum allowed zoom factor. 1.0 correlates to 100%. A value of null disables the rule for the minimum allowed zoom factor.
        maxZoomFactor - The maximum allowed zoom factor. 1.0 correlates to 100%. A value of null disables the rule for the maximum allowed zoom factor.