com.supermap.onlineservices

Class GeocodingParameter

  • java.lang.Object
    • com.supermap.onlineservices.GeocodingParameter


  • public class GeocodingParameter
    extends java.lang.Object
    Geocoding parameter class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void setCity(java.lang.String city)
      Set the geocoding to analyze the Urban range, Must set the parameters.
      void setCoordinateType(CoordinateType type)
      Set the output result coordinate type, the default value is 910101.
      void setLandmark(java.lang.String landmark)
      Set the geocoding analysis description, Must set the parameters.
      void setMaxResult(int maxResult)
      Sets the maximum number of return results, with a default of 1.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GeocodingParameter

        public GeocodingParameter()
        The default constructor for constructing a new GeocodingParameter object.
    • Method Detail

      • setLandmark

        public void setLandmark(java.lang.String landmark)
        Set the geocoding analysis description, Must set the parameters.
        Parameters:
        landmark - Geocoding analysis describes information.
      • setCity

        public void setCity(java.lang.String city)
        Set the geocoding to analyze the Urban range, Must set the parameters.
        Parameters:
        city - City name.
      • setMaxResult

        public void setMaxResult(int maxResult)
        Sets the maximum number of return results, with a default of 1.
        Parameters:
        maxResult - The maximum number of matching results.
      • setCoordinateType

        public void setCoordinateType(CoordinateType type)
        Set the output result coordinate type, the default value is 910101.
        Parameters:
        type - The coordinate type.