Class ZoomLevelSnapStrategy.SearchResult

java.lang.Object
org.mapfish.print.attribute.map.ZoomLevelSnapStrategy.SearchResult
Enclosing class:
ZoomLevelSnapStrategy

public static final class ZoomLevelSnapStrategy.SearchResult extends Object
The results of a search.
  • Method Details

    • getZoomLevel

      public int getZoomLevel()
      Gets the zoom level.
      Returns:
      the zoom level
    • getZoomLevels

      public ZoomLevels getZoomLevels()
      Gets the zoom levels.
      Returns:
      the zoom levels
    • getScale

      public Scale getScale(DistanceUnit unit)
      Gets the scale.
      Parameters:
      unit - the unit
      Returns:
      the scale
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object