CMAddress

Undocumented

  • The enum Type Address.

    See more

    Declaration

    Swift

    public enum CMType
  • Address line string.

    Declaration

    Swift

    public func addressLine() -> String

    Return 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() -> Bool

    Return Value

    true if has road

  • Has coordinateSuggest.

    Declaration

    Swift

    public func hasCoordinate() -> Bool

    Return Value

    true if has coordinateSuggest

  • Has postal code.

    Declaration

    Swift

    public func hasPostalCode() -> Bool

    Return Value

    true if has postal code

  • Has city.

    Declaration

    Swift

    public func hasCity() -> Bool

    Return Value

    true if has city

  • Has municipality.

    Declaration

    Swift

    public func hasMunicipality() -> Bool

    Return Value

    true if has municipality

  • Has subregion.

    Declaration

    Swift

    public func hasSubregion() -> Bool

    Return Value

    true if has subregion

  • Has region.

    Declaration

    Swift

    public func hasRegion() -> Bool

    Return Value

    true if has region

  • Has country.

    Declaration

    Swift

    public func hasCountry() -> Bool

    Return 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

    road

    the 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

    postalCode

    the postal code

  • Gets city.

    Declaration

    Swift

    public func getCity() -> City?

    Return Value

    the city

  • Sets city.

    Declaration

    Swift

    public func setCity(city: City?)

    Parameters

    city

    the city

  • Gets municipality.

    Declaration

    Swift

    public func getMunicipality() -> Municipality?

    Return Value

    the municipality

  • Sets municipality.

    Declaration

    Swift

    public func setMunicipality(municipality: Municipality?)

    Parameters

    municipality

    the 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

    delegate

    delegate function

  • Sets coordinate.

    Declaration

    Swift

    public func setCoordinate(coordinate: CMLatLng?)

    Parameters

    coordinate

    the coordinate

  • Gets subregion.

    Declaration

    Swift

    public func getSubregion() -> SubRegion?

    Return Value

    the subregion

  • Sets subregion.

    Declaration

    Swift

    public func setSubregion(subregion: SubRegion?)

    Parameters

    subregion

    the subregion

  • Gets region.

    Declaration

    Swift

    public func getRegion() -> Region?

    Return Value

    the region

  • Sets region.

    Declaration

    Swift

    public func setRegion(region:Region?)

    Parameters

    region

    the region

  • Gets country.

    Declaration

    Swift

    public func getCountry() -> Country?

    Return Value

    the country

  • Sets country.

    Declaration

    Swift

    public func setCountry(country:Country?)

    Parameters

    country

    the country

  • Undocumented