Class DataSource

java.lang.Object
com.azure.maps.search.models.DataSource

public final class DataSource extends Object
Optional section. Reference ids for use with the [Get Search Polygon](https://docs.microsoft.com/rest/api/maps/search/getsearchpolygon) API.
  • Constructor Details

    • DataSource

      public DataSource(String geometry)
      Parameters:
      geometry - this is geometry id
    • DataSource

      public DataSource()
      Constructor
  • Method Details

    • getGeometry

      public String getGeometry()
      Get the geometry property: Information about the geometric shape of the result. Only present if type == Geography.
      Returns:
      the geometry value
    • setGeometry

      public DataSource setGeometry(String geometry)
      Set the geometry property: Information about the geometric shape of the result. Only present if type == Geography.
      Parameters:
      geometry - the geometry value to set
      Returns:
      The DataSource object itself.