Package com.azure.maps.search.models
Class ReverseSearchAddressOptions
java.lang.Object
com.azure.maps.search.models.BaseReverseSearchOptions<ReverseSearchAddressOptions>
com.azure.maps.search.models.ReverseSearchAddressOptions
public final class ReverseSearchAddressOptions
extends BaseReverseSearchOptions<ReverseSearchAddressOptions>
Class holding optional parameters for Reverse Search.
-
Constructor Summary
ConstructorsConstructorDescriptionReverseSearchAddressOptions
(com.azure.core.models.GeoPosition coordinates) Builds fuzzy search options with query string and coordinates. -
Method Summary
Modifier and TypeMethodDescriptionReturns whether to allow free form newline.Returns the entity type.Returns the building number.Returns a list of road uses.Returns whether to include match type.Returns whether we should include the road use.Returns whether we should include the speed limit.setAllowFreeformNewline
(Boolean allowFreeformNewline) Sets whether to allow free form newline.setEntityType
(GeographicEntityType entityType) Sets the entity type.setIncludeMatchType
(Boolean includeMatchType) Sets whether to include the match type.setIncludeRoadUse
(Boolean includeRoadUse) Sets whether to include road use.setIncludeSpeedLimit
(Boolean includeSpeedLimit) Sets whether to include the speed limit.Sets the street number.setRoadUse
(List<RoadUseType> roadUse) Sets a list of road use types.Methods inherited from class com.azure.maps.search.models.BaseReverseSearchOptions
getCoordinates, getHeading, getLanguage, getLocalizedMapView, getRadiusInMeters, setCoordinates, setHeading, setLanguage, setLocalizedMapView, setRadiusInMeters
-
Constructor Details
-
ReverseSearchAddressOptions
public ReverseSearchAddressOptions(com.azure.core.models.GeoPosition coordinates) Builds fuzzy search options with query string and coordinates.- Parameters:
coordinates
- TheGeoPosition
coordinates to be searched.
-
-
Method Details
-
includeSpeedLimit
Returns whether we should include the speed limit.- Returns:
- whether we should include the speed limit.
-
getNumber
Returns the building number.- Returns:
- the building number.
-
includeRoadUse
Returns whether we should include the road use.- Returns:
- whether we should include the road use.
-
getRoadUse
Returns a list of road uses.- Returns:
- a list of road uses.
-
allowFreeformNewline
Returns whether to allow free form newline.- Returns:
- whether to allow free form newline.
-
includeMatchType
Returns whether to include match type.- Returns:
- whether to include match type.
-
getEntityType
Returns the entity type.- Returns:
- the entity type.
-
setIncludeSpeedLimit
Sets whether to include the speed limit.- Parameters:
includeSpeedLimit
- whether to include the speed limit.- Returns:
- a reference to this
ReverseSearchAddressOptions
.
-
setNumber
Sets the street number.- Parameters:
number
- the street number.- Returns:
- a reference to this
ReverseSearchAddressOptions
.
-
setIncludeRoadUse
Sets whether to include road use.- Parameters:
includeRoadUse
- whether to include road use.- Returns:
- a reference to this
ReverseSearchAddressOptions
.
-
setRoadUse
Sets a list of road use types.- Parameters:
roadUse
- a list of road use types.- Returns:
- a reference to this
ReverseSearchAddressOptions
.
-
setAllowFreeformNewline
Sets whether to allow free form newline.- Parameters:
allowFreeformNewline
- whether to allow free form newline.- Returns:
- a reference to this
ReverseSearchAddressOptions
.
-
setIncludeMatchType
Sets whether to include the match type.- Parameters:
includeMatchType
- whether to include the match type.- Returns:
- a reference to this
ReverseSearchAddressOptions
.
-
setEntityType
Sets the entity type.- Parameters:
entityType
- the entity type.- Returns:
- a reference to this
ReverseSearchAddressOptions
.
-