Class NameFinder.SearchResult

java.lang.Object
org.openstreetmap.josm.io.NameFinder.SearchResult
Enclosing class:
NameFinder

public static class NameFinder.SearchResult extends Object
Data storage for search results.
  • Field Details

  • Constructor Details

  • Method Details

    • getName

      public final String getName()
      Returns the name.
      Returns:
      the name
    • getInfo

      public final String getInfo()
      Returns the info.
      Returns:
      the info
    • getNearestPlace

      public final String getNearestPlace()
      Returns the nearest place.
      Returns:
      the nearest place
    • getDescription

      public final String getDescription()
      Returns the description.
      Returns:
      the description
    • getLat

      public final double getLat()
      Returns the latitude.
      Returns:
      the latitude
    • getLon

      public final double getLon()
      Returns the longitude.
      Returns:
      the longitude
    • getZoom

      public final int getZoom()
      Returns the zoom.
      Returns:
      the zoom
    • getBounds

      public final Bounds getBounds()
      Returns the bounds.
      Returns:
      the bounds
    • getOsmId

      public final PrimitiveId getOsmId()
      Returns the OSM id.
      Returns:
      the OSM id
    • getPlaceId

      public long getPlaceId()
      Returns the Nominatim place id.
      Returns:
      the Nominatim place id
    • getDownloadArea

      Returns the download area.
      Returns:
      the download area