Package com.azure.maps.search.models
Class MapsSearchAddress
java.lang.Object
com.azure.maps.search.models.MapsSearchAddress
The address of the result.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.models.GeoBoundingBox
Get the boundingBox property: The bounding box of the location.Get the buildingNumber property: The building number on the street.Get the country property: Country name.Get the countryCode property: Country (Note: This is a two-letter code, not a country name.).Get the countryCodeISO3 property: ISO alpha-3 country code.Get the countrySecondarySubdivision property: County.Get the countrySubdivision property: State or Province.Get the countrySubdivisionName property: The full name of a first level of country administrative hierarchy.Get the countryTertiarySubdivision property: Named Area.Get the crossStreet property: The name of the street being crossed.Get the extendedPostalCode property: Extended postal code (availability is dependent on the region).Get the freeformAddress property: An address line formatted according to the formatting rules of a Result's country of origin, or in the case of a country, its full country name.Get the localName property: An address component which represents the name of a geographic area or locality that groups a number of addressable objects for addressing purposes, without being an administrative unit.Get the municipality property: City / Town.Get the municipalitySubdivision property: Sub / Super City.Get the postalCode property: Postal Code / Zip Code.Get the routeNumbers property: The codes used to unambiguously identify the street.Get the street property: The street name.Get the streetName property: The street name.Get the streetNameAndNumber property: The street name and number.Get the streetNumber property: The building number on the street.
-
Constructor Details
-
MapsSearchAddress
public MapsSearchAddress()
-
-
Method Details
-
getBuildingNumber
Get the buildingNumber property: The building number on the street. DEPRECATED, use streetNumber instead.- Returns:
- the buildingNumber value.
-
getStreet
Get the street property: The street name. DEPRECATED, use streetName instead.- Returns:
- the street value.
-
getCrossStreet
Get the crossStreet property: The name of the street being crossed.- Returns:
- the crossStreet value.
-
getStreetNumber
Get the streetNumber property: The building number on the street.- Returns:
- the streetNumber value.
-
getRouteNumbers
Get the routeNumbers property: The codes used to unambiguously identify the street.- Returns:
- the routeNumbers value.
-
getStreetName
Get the streetName property: The street name.- Returns:
- the streetName value.
-
getStreetNameAndNumber
Get the streetNameAndNumber property: The street name and number.- Returns:
- the streetNameAndNumber value.
-
getMunicipality
Get the municipality property: City / Town.- Returns:
- the municipality value.
-
getMunicipalitySubdivision
Get the municipalitySubdivision property: Sub / Super City.- Returns:
- the municipalitySubdivision value.
-
getCountryTertiarySubdivision
Get the countryTertiarySubdivision property: Named Area.- Returns:
- the countryTertiarySubdivision value.
-
getCountrySecondarySubdivision
Get the countrySecondarySubdivision property: County.- Returns:
- the countrySecondarySubdivision value.
-
getCountrySubdivision
Get the countrySubdivision property: State or Province.- Returns:
- the countrySubdivision value.
-
getPostalCode
Get the postalCode property: Postal Code / Zip Code.- Returns:
- the postalCode value.
-
getExtendedPostalCode
Get the extendedPostalCode property: Extended postal code (availability is dependent on the region).- Returns:
- the extendedPostalCode value.
-
getCountryCode
Get the countryCode property: Country (Note: This is a two-letter code, not a country name.).- Returns:
- the countryCode value.
-
getCountry
Get the country property: Country name.- Returns:
- the country value.
-
getCountryCodeIso3
Get the countryCodeISO3 property: ISO alpha-3 country code.- Returns:
- the countryCodeISO3 value.
-
getFreeformAddress
Get the freeformAddress property: An address line formatted according to the formatting rules of a Result's country of origin, or in the case of a country, its full country name.- Returns:
- the freeformAddress value.
-
getCountrySubdivisionName
Get the countrySubdivisionName property: The full name of a first level of country administrative hierarchy. This field appears only in case countrySubdivision is presented in an abbreviated form. Only supported for USA, Canada, and United Kingdom.- Returns:
- the countrySubdivisionName value.
-
getLocalName
Get the localName property: An address component which represents the name of a geographic area or locality that groups a number of addressable objects for addressing purposes, without being an administrative unit. This field is used to build the `freeformAddress` property.- Returns:
- the localName value.
-
getBoundingBox
public com.azure.core.models.GeoBoundingBox getBoundingBox()Get the boundingBox property: The bounding box of the location.- Returns:
- the boundingBox value.
-