Address
data class Address(val name: String?, val country: String?, val city: String?, val zip: String?, val road: String?, val houseNum: String?, val location: GeoPoint?, val isPOI: Boolean = false, val POIClassID: Long = 0, val POILocation: GeoPoint?, val phoneNumber: String? = null, val id: String? = null)
This class defines a Postal Address of a place.
Parameters
name
human readable name of the place
country
country where the place is located
city
city where the place is located
zip
zip-code of the address
road
road/street name of the address
houseNum
number of the house connected to given address
location
map-matched coordinates of the place
isPOI
indicates if the address is a POI. In that case, the name is the name of the POI.
POIClassID
the class ID of the POI. If the Address is not a POI, its value is 0.
phoneNumber
an optional phone number if the address is a POI.
POILocation
coordinates of the POI (may be different from the postal address location)
id
the custom ID of the POI, if any, and if the Address is a POI.