1 |
package skrueger.geotools; |
2 |
|
3 |
/** |
4 |
* Classes that implement {@link ZoomRestrictableGridInterface} can be restricted to their max- and/or min zoom scale |
5 |
* |
6 |
* @author <a href="mailto:[email protected]">Stefan Alfons Krüger</a> |
7 |
* |
8 |
*/ |
9 |
public interface ZoomRestrictableGridInterface { |
10 |
|
11 |
/** |
12 |
* The resolution is calculated by number of units in layer's crs / number of pixels. |
13 |
* null is allowed as return value. |
14 |
* |
15 |
* @return the maximum resolution this grid provides. (the smalles value) |
16 |
*/ |
17 |
Double getMaxResolution(); |
18 |
|
19 |
/** |
20 |
* The resolution is calculated by number of units in layer's crs / number of pixels. |
21 |
* null is allowed as return value. |
22 |
* |
23 |
* @return the minimum resolution this grid provides. (the biggest value) |
24 |
*/ |
25 |
Double getMinResolution(); |
26 |
|
27 |
} |