Package com.azure.maps.search.models
Class DataSource
java.lang.Object
com.azure.maps.search.models.DataSource
Optional section. Reference ids for use with the [Get Search
Polygon](https://docs.microsoft.com/rest/api/maps/search/getsearchpolygon) API.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the geometry property: Information about the geometric shape of the result.setGeometry
(String geometry) Set the geometry property: Information about the geometric shape of the result.
-
Constructor Details
-
DataSource
- Parameters:
geometry
- this is geometry id
-
DataSource
public DataSource()Constructor
-
-
Method Details
-
getGeometry
Get the geometry property: Information about the geometric shape of the result. Only present if type == Geography.- Returns:
- the geometry value
-
setGeometry
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.
-