Class BaseReverseSearchOptions<T extends BaseReverseSearchOptions<T>>

java.lang.Object
com.azure.maps.search.models.BaseReverseSearchOptions<T>
Direct Known Subclasses:
ReverseSearchAddressOptions, ReverseSearchCrossStreetAddressOptions

public abstract class BaseReverseSearchOptions<T extends BaseReverseSearchOptions<T>> extends Object
Class holding optional parameters for reverse search.
  • Constructor Details

    • BaseReverseSearchOptions

      public BaseReverseSearchOptions()
  • Method Details

    • getRadiusInMeters

      public Integer getRadiusInMeters()
      Returns an Integer with the radius, in meters.
      Returns:
      the radius in meters.
    • getLanguage

      public String getLanguage()
      Returns a String with the chosen language.
      Returns:
      the language.
    • getLocalizedMapView

      public LocalizedMapView getLocalizedMapView()
      Returns a LocalizedMapView representing the geopolitical view of the map.
      Returns:
      the localized map view.
    • getHeading

      public Integer getHeading()
      Returns an Integer representing the heading.
      Returns:
      the heading.
    • getCoordinates

      public com.azure.core.models.GeoPosition getCoordinates()
      Returns a GeoPosition with the requested coordinates.
      Returns:
      the coordinates to be used in the search.
    • setRadiusInMeters

      public T setRadiusInMeters(Integer radiusInMeters)
      Sets the radius in meters.
      Parameters:
      radiusInMeters - the radius in meters.
      Returns:
      a reference to this T class.
    • setHeading

      public T setHeading(Integer heading)
      Sets the heading.
      Parameters:
      heading - the heading.
      Returns:
      a reference to this T class.
    • setLanguage

      public T setLanguage(String language)
      Sets the language.
      Parameters:
      language - the language.
      Returns:
      a reference to this T class.
    • setLocalizedMapView

      public T setLocalizedMapView(LocalizedMapView localizedMapView)
      Sets the localized map view.
      Parameters:
      localizedMapView - the localized map view.
      Returns:
      a reference to this T class.
    • setCoordinates

      public T setCoordinates(com.azure.core.models.GeoPosition coordinates)
      Sets the coordinates.
      Parameters:
      coordinates - the coordinates.
      Returns:
      a reference to this T class.