Class GeometryIdentifier

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

public final class GeometryIdentifier extends Object
Information about the geometric shape of the result. Only present if type == Geography.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the id property: Pass this as geometryId to the [Get Search Polygon](https://docs.microsoft.com/rest/api/maps/search/getsearchpolygon) API to fetch geometry information for this result.
    Set the id property: Pass this as geometryId to the [Get Search Polygon] (https://docs.microsoft.com/rest/api/maps/search/getsearchpolygon) API to fetch geometry information for this result.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GeometryIdentifier

      public GeometryIdentifier()
  • Method Details

    • getId

      public String getId()
      Get the id property: Pass this as geometryId to the [Get Search Polygon](https://docs.microsoft.com/rest/api/maps/search/getsearchpolygon) API to fetch geometry information for this result.
      Returns:
      the id value.
    • setId

      public GeometryIdentifier setId(String id)
      Set the id property: Pass this as geometryId to the [Get Search Polygon] (https://docs.microsoft.com/rest/api/maps/search/getsearchpolygon) API to fetch geometry information for this result.
      Parameters:
      id - The geometryId
      Returns:
      the updated GeometryIdentifier object