Package com.azure.maps.search.models
Class MapsPolygon
java.lang.Object
com.azure.maps.search.models.MapsPolygon
The Polygon model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.models.GeoObject
Get the geometryData property: Geometry data in GeoJSON format.Get the providerID property: ID of the returned entity.
-
Constructor Details
-
MapsPolygon
public MapsPolygon()
-
-
Method Details
-
getProviderId
Get the providerID property: ID of the returned entity.- Returns:
- the providerID value.
-
getGeometry
public com.azure.core.models.GeoObject getGeometry()Get the geometryData property: Geometry data in GeoJSON format. Please refer to [RFC 7946](https://tools.ietf.org/html/rfc7946) for details. Present only if "error" is not present.- Returns:
- the geometryData value.
-