public static final class MapNavigator.ScaleConstraintOptions extends Object implements AutoCloseable
See MapNavigator#getScaleConstraint
for more information.
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
finalize() |
MapScale |
getZoomInLimit()
Returns the scale limit for zooming in.
|
MapScale |
getZoomOutLimit()
Returns the scale limit for zooming out.
|
void |
setZoomInLimit(MapScale zoomInLimit)
Sets the scale limit for zooming in.
|
void |
setZoomOutLimit(MapScale zoomOutLimit)
Sets the scale limit for zooming out.
|
public void close()
close
in interface AutoCloseable
@NotNull public MapScale getZoomInLimit()
setZoomInLimit
public void setZoomInLimit(@NotNull MapScale zoomInLimit)
The default value is MapScale#maxZoomedIn()
.
zoomInLimit
- the scale limit for zooming in@NotNull public MapScale getZoomOutLimit()
setZoomOutLimit
public void setZoomOutLimit(@NotNull MapScale zoomOutLimit)
The default value is MapScale#maxZoomedOut()
.
zoomOutLimit
- the scale limit for zooming out.