Class GeocodeResult

    • Method Detail

      • getAttributes

        public Map<String,Object> getAttributes()
        Gets the attributes of this result.
        Returns:
        an unmodifiable Map; the keys are Strings containing the names of the attributes and the values are Objects containing the values of the attributes
        Since:
        100.0.0
      • getExtent

        public Envelope getExtent()
        Gets the extent of the address or feature represented by this result.
        Returns:
        an Envelope describing the extent
        Since:
        100.0.0
      • getLabel

        public String getLabel()
        Gets a formatted address string for this result.
        Returns:
        a formatted address string
        Since:
        100.0.0
      • getDisplayLocation

        public Point getDisplayLocation()
        Gets the display location for this result. This is the best location to use for displaying information about the result. For example if the result is a park this will be the center point of the park.
        Returns:
        the display location
        Since:
        100.0.0
      • getInputLocation

        public Point getInputLocation()
        Gets the location that was passed in to the operation.
        Returns:
        the input location
        Since:
        100.0.0
      • getRouteLocation

        public Point getRouteLocation()
        Gets the route location for this result. This is the best location to use for routing to this result. For example if the result is a park this will be the entrance point of the park.
        Returns:
        the route location
        Since:
        100.0.0
      • getScore

        public double getScore()
        Gets the match score for this result.
        Returns:
        a match score value in the range [0..100]
        Since:
        100.0.0