/** * Returns the maximum scale (maximum zoom in) of this map. The minimum scale is indirectly determined from the * maximum bounds. As a better alternative for this value, use {@link #getScaleConfiguration}. * * @return the maximum scale (pixels/unit) * @deprecated use {@link #getScaleConfiguration} */ @Deprecated public float getMaximumScale() { return (float) getScaleConfiguration().getMaximumScale().getPixelPerUnit(); }
protected FreeForAllZoomStrategy(ClientMapInfo mapInfo, Bbox maxBounds) { ScaleConfigurationInfo scaleConfigurationInfo = mapInfo.getScaleConfiguration(); maximumScale = scaleConfigurationInfo.getMaximumScale().getPixelPerUnit(); this.maxBounds = maxBounds; }