skrueger.geotools
Interface ZoomRestrictableGridInterface


public interface ZoomRestrictableGridInterface

Classes that implement ZoomRestrictableGridInterface can be restricted to their max- and/or min zoom scale

Author:
Stefan Alfons Krüger

Method Summary
 Double getMaxResolution()
          The resolution is calculated by number of units in layer's crs / number of pixels.
 Double getMinResolution()
          The resolution is calculated by number of units in layer's crs / number of pixels.
 

Method Detail

getMaxResolution

Double getMaxResolution()
The resolution is calculated by number of units in layer's crs / number of pixels. null is allowed as return value.

Returns:
the maximum resolution this grid provides. (the smalles value)

getMinResolution

Double getMinResolution()
The resolution is calculated by number of units in layer's crs / number of pixels. null is allowed as return value.

Returns:
the minimum resolution this grid provides. (the biggest value)