Examples of CalculateZoomLevelParameter


Examples of org.locationtech.udig.project.internal.render.impl.ScaleUtils.CalculateZoomLevelParameter

    public ToolContextImpl copy() {
        return new ToolContextImpl(this);
    }
  public double calculateZoomLevel(double previousZoom, double zoom, Coordinate fixedPoint,
      boolean alwayUsePreferredZoomLevels, boolean alwaysChangeZoom) {
    CalculateZoomLevelParameter params = new CalculateZoomLevelParameter(getViewportModelInternal(), getViewportPane(), previousZoom, zoom, fixedPoint,
            alwayUsePreferredZoomLevels, alwaysChangeZoom, ScaleUtils.zoomClosenessPreference());
    return ScaleUtils.calculateZoomLevel(params);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.