Class MapNavigator.ScaleConstraintOptions

java.lang.Object
com.luciad.maps.MapNavigator.ScaleConstraintOptions
All Implemented Interfaces:
AutoCloseable
Enclosing class:
MapNavigator

public static final class MapNavigator.ScaleConstraintOptions extends Object implements AutoCloseable
Options to configure the scale constraint to restrict the camera zooming.

See MapNavigator#getScaleConstraint for more information.

  • Method Details Link icon

    • finalize Link icon

      protected void finalize()
      Overrides:
      finalize in class Object
    • close Link icon

      public void close()
      Specified by:
      close in interface AutoCloseable
    • getZoomInLimit Link icon

      @NotNull public MapScale getZoomInLimit()
      Returns the scale limit for zooming in.
      Returns:
      the scale limit for zooming in.
      See Also:
    • setZoomInLimit Link icon

      public void setZoomInLimit(@NotNull MapScale zoomInLimit)
      Sets the scale limit for zooming in.

      The default value is MapScale#maxZoomedIn().

      Parameters:
      zoomInLimit - the scale limit for zooming in
    • getZoomOutLimit Link icon

      @NotNull public MapScale getZoomOutLimit()
      Returns the scale limit for zooming out.
      Returns:
      the scale limit for zooming out.
      See Also:
    • setZoomOutLimit Link icon

      public void setZoomOutLimit(@NotNull MapScale zoomOutLimit)
      Sets the scale limit for zooming out.

      The default value is MapScale#maxZoomedOut().

      Parameters:
      zoomOutLimit - the scale limit for zooming out.