Package com.azure.maps.search.models
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.models.GeoPosition
Returns a GeoPosition with the requested coordinates.Returns an Integer representing the heading.Returns a String with the chosen language.Returns a LocalizedMapView representing the geopolitical view of the map.Returns an Integer with the radius, in meters.setCoordinates
(com.azure.core.models.GeoPosition coordinates) Sets the coordinates.setHeading
(Integer heading) Sets the heading.setLanguage
(String language) Sets the language.setLocalizedMapView
(LocalizedMapView localizedMapView) Sets the localized map view.setRadiusInMeters
(Integer radiusInMeters) Sets the radius in meters.
-
Constructor Details
-
BaseReverseSearchOptions
public BaseReverseSearchOptions()
-
-
Method Details
-
getRadiusInMeters
Returns an Integer with the radius, in meters.- Returns:
- the radius in meters.
-
getLanguage
Returns a String with the chosen language.- Returns:
- the language.
-
getLocalizedMapView
Returns a LocalizedMapView representing the geopolitical view of the map.- Returns:
- the localized map view.
-
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
Sets the radius in meters.- Parameters:
radiusInMeters
- the radius in meters.- Returns:
- a reference to this
T
class.
-
setHeading
Sets the heading.- Parameters:
heading
- the heading.- Returns:
- a reference to this
T
class.
-
setLanguage
Sets the language.- Parameters:
language
- the language.- Returns:
- a reference to this
T
class.
-
setLocalizedMapView
Sets the localized map view.- Parameters:
localizedMapView
- the localized map view.- Returns:
- a reference to this
T
class.
-
setCoordinates
Sets the coordinates.- Parameters:
coordinates
- the coordinates.- Returns:
- a reference to this
T
class.
-