Package org.mapfish.print.attribute.map
Class ZoomLevelSnapStrategy.SearchResult
- java.lang.Object
-
- org.mapfish.print.attribute.map.ZoomLevelSnapStrategy.SearchResult
-
- Enclosing class:
- ZoomLevelSnapStrategy
public static final class ZoomLevelSnapStrategy.SearchResult extends java.lang.Object
The results of a search.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Scale
getScale(DistanceUnit unit)
Gets the scale.int
getZoomLevel()
Gets the zoom level.ZoomLevels
getZoomLevels()
Gets the zoom levels.int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
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(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-