Package com.azure.maps.search.models
Class SearchNearbyPointsOfInterestOptions
java.lang.Object
com.azure.maps.search.models.BaseSearchOptions<T>
com.azure.maps.search.models.BaseSearchPointOfInterestOptions<SearchNearbyPointsOfInterestOptions>
com.azure.maps.search.models.SearchNearbyPointsOfInterestOptions
public final class SearchNearbyPointsOfInterestOptions
extends BaseSearchPointOfInterestOptions<SearchNearbyPointsOfInterestOptions>
Options for searching nearby points of interest.
-
Constructor Summary
ConstructorsConstructorDescriptionSearchNearbyPointsOfInterestOptions
(com.azure.core.models.GeoPosition coordinates) Builds search nearby options with coordinates. -
Method Summary
Modifier and TypeMethodDescriptionReturns the extended postal codes for.setExtendedPostalCodesFor
(List<SearchIndexes> extendedPostalCodesFor) Sets the extended postal codes for.Methods inherited from class com.azure.maps.search.models.BaseSearchPointOfInterestOptions
getBrandFilter, getCategoryFilter, getCoordinates, getElectricVehicleConnectorFilter, getOperatingHours, setBrandFilter, setCategoryFilter, setCoordinates, setElectricVehicleConnectorFilter, setOperatingHours
Methods inherited from class com.azure.maps.search.models.BaseSearchOptions
getBoundingBox, getCountryFilter, getLanguage, getLocalizedMapView, getRadiusInMeters, getSkip, getTop, setCountryFilter, setGeoBoundingBox, setLanguage, setLocalizedMapView, setRadiusInMeters, setSkip, setTop
-
Constructor Details
-
SearchNearbyPointsOfInterestOptions
public SearchNearbyPointsOfInterestOptions(com.azure.core.models.GeoPosition coordinates) Builds search nearby options with coordinates.- Parameters:
coordinates
- TheGeoPosition
coordinates to be searched.
-
-
Method Details
-
getExtendedPostalCodesFor
Returns the extended postal codes for.- Returns:
- the extended postal codes used for the search
-
setExtendedPostalCodesFor
public SearchNearbyPointsOfInterestOptions setExtendedPostalCodesFor(List<SearchIndexes> extendedPostalCodesFor) Sets the extended postal codes for.- Parameters:
extendedPostalCodesFor
- the extended postal codes used for the search- Returns:
- a reference to this
SearchNearbyPointsOfInterestOptions
-