Class Source.ZoomBoundFunction
java.lang.Object
org.openstreetmap.josm.data.imagery.vectortile.mapbox.style.Source.ZoomBoundFunction
- All Implemented Interfaces:
IntFunction<Integer>
- Enclosing class:
- Source
A common function for zoom constraints
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
min
-
max
-
-
Constructor Details
-
ZoomBoundFunction
ZoomBoundFunction(int min, int max) Create a new bound for zooms- Parameters:
min- The min zoommax- The max zoom
-
-
Method Details
-
apply
- Specified by:
applyin interfaceIntFunction<Integer>
-