CMAddress
Undocumented
-
The enum Type Address.
See moreDeclaration
Swift
public enum CMType -
Address line string.
Declaration
Swift
public func addressLine() -> StringReturn Value
address information line string
-
Address array list.
Declaration
Swift
public func addressArray() -> Array<String>Return Value
address information array list
-
Has road.
Declaration
Swift
public func hasRoad() -> BoolReturn Value
true if has road
-
Has coordinateSuggest.
Declaration
Swift
public func hasCoordinate() -> BoolReturn Value
true if has coordinateSuggest
-
Has postal code.
Declaration
Swift
public func hasPostalCode() -> BoolReturn Value
true if has postal code
-
Has city.
Declaration
Swift
public func hasCity() -> BoolReturn Value
true if has city
-
Has municipality.
Declaration
Swift
public func hasMunicipality() -> BoolReturn Value
true if has municipality
-
Has subregion.
Declaration
Swift
public func hasSubregion() -> BoolReturn Value
true if has subregion
-
Has region.
Declaration
Swift
public func hasRegion() -> BoolReturn Value
true if has region
-
Has country.
Declaration
Swift
public func hasCountry() -> BoolReturn Value
true if has country
-
Gets road.
Declaration
Swift
public func getRoad() -> Road?Return Value
the road
-
Sets road.
Declaration
Swift
public func setRoad(road: Road?)Parameters
roadthe road
-
Gets postal code.
Declaration
Swift
public func getPostalCode() -> String?Return Value
the postal code
-
Sets postal code.
Declaration
Swift
public func setPostalCode(postalCode: String?)Parameters
postalCodethe postal code
-
Gets city.
Declaration
Swift
public func getCity() -> City?Return Value
the city
-
Sets city.
Declaration
Swift
public func setCity(city: City?)Parameters
citythe city
-
Gets municipality.
Declaration
Swift
public func getMunicipality() -> Municipality?Return Value
the municipality
-
Sets municipality.
Declaration
Swift
public func setMunicipality(municipality: Municipality?)Parameters
municipalitythe municipality
-
Gets coordinate. Use Address.getCoordinateFromGeocoder(callback) when coordinates is null or Address.hasCoordinate() is false.
Declaration
Swift
public func getCoordinate() -> CMLatLng?Return Value
the coordinate
-
Obtain coordinates async from SuggestGeocoding. Used for obtain real coordinates when address has houseNumber or Address.hasCoordinate() is false.
Declaration
Swift
public func getCoordinateFromGeocoder(delegate: CoordinateAddressDelegate)Parameters
delegatedelegate function
-
Sets coordinate.
Declaration
Swift
public func setCoordinate(coordinate: CMLatLng?)Parameters
coordinatethe coordinate
-
Gets subregion.
Declaration
Swift
public func getSubregion() -> SubRegion?Return Value
the subregion
-
Sets subregion.
Declaration
Swift
public func setSubregion(subregion: SubRegion?)Parameters
subregionthe subregion
-
Gets region.
Declaration
Swift
public func getRegion() -> Region?Return Value
the region
-
Sets region.
Declaration
Swift
public func setRegion(region:Region?)Parameters
regionthe region
-
Gets country.
Declaration
Swift
public func getCountry() -> Country?Return Value
the country
-
Sets country.
Declaration
Swift
public func setCountry(country:Country?)Parameters
countrythe country
-
Undocumented
CMAddress Class Reference