public interface ZoomContext
Modifier and Type | Method and Description |
---|---|
ScaleRange |
getRange(Integer min,
Integer max)
Return a scale range covering the specified zoom level but no others.
|
double |
getScaleDenominator(int level)
Find the reciprocal of the scale at a specified zoom level in this context.
|
boolean |
isInRange(int level)
Is the given level within the range for which the context has clearly defined scales.
|
static final String HINT_ID
double getScaleDenominator(int level)
level
- The levelScaleRange getRange(@Nullable Integer min, @Nullable Integer max)
min
- Minimum zoom level. Absent for open ended.max
- Maximum zoom level. Absent for open ended.boolean isInRange(int level)
Copyright © 1996–2021 Geotools. All rights reserved.