Class GeocodeResult

    • Method Detail

      • getExtent

        public Envelope getExtent()
        Gets an extent suitable for zooming the map to display the candidate.
        Returns:
        an Envelope describing the extent
        Since:
        100.0.0
      • getLabel

        public String getLabel()
        Gets a user-friendly text that describes this result.
        Returns:
        a formatted address string
        Since:
        100.0.0
      • getDisplayLocation

        public Point getDisplayLocation()
        Gets the location of the candidate suitable for display on a map. For example, this may provide a more precise rooftop location of a house, whereas getRouteLocation() represents the nearest street location.
        Returns:
        the display location
        Since:
        100.0.0
      • getRouteLocation

        public Point getRouteLocation()
        Gets the nearest street location for the result. Use this location if you want to use the candidate as a stop in a route. For example, getDisplayLocation() provide a more precise rooftop location of a house, whereas getRouteLocation() will provide the nearest street location.
        Returns:
        the route location
        Since:
        100.0.0
      • getScore

        public double getScore()
        Gets a value that indicates how well the address was matched. The score is in the range between 0 (no match) and 100 (perfect match).
        Returns:
        a match score value in the range [0..100]
        Since:
        100.0.0