public class CLPlacemark extends NSObject implements NSSecureCoding
Constructor and Description |
---|
CLPlacemark(CLPlacemark placemark)
Constructs a new CLPlacemark based on the specified object.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
addressDictionary()
Returns a dictionary with keys and values of the address book of this
place mark.
|
String |
administrativeArea()
Returns the state or the province of the place mark.
|
List<String> |
areasOfInterest()
Returns a list of areas of interest related to this CLPlacemark.
|
String |
country()
Returns the country of the place mark.
|
String |
inlandWater()
Returns the name of a lake, a river or other inland water related to this
CLPlacemark.
|
String |
ISOcountryCode()
Returns the abbreviated name of the country related to this CLPlacemark.
|
String |
locality()
Returns the city of the place mark.
|
CLLocation |
location()
Returns a CLLocation object that contains latitude and longitude
information.
|
String |
ocean()
Returns the name of the ocean related to this CLPlacemark.
|
String |
postalCode()
Returns the postal code of the place mark.
|
CLRegion |
region()
Returns the geographic region related to this CLPlacemark.
|
String |
subAdministrativeArea()
Returns additional information related to the administrative area of the
place mark.
|
String |
subLocality()
Returns additional information related to the city of the place mark.
|
String |
subThoroughfare()
Returns additional information related to the address of the place mark.
|
String |
thoroughfare()
Returns the address of the place mark.
|
NSTimeZone |
timeZone()
Returns the time zone related to this CLPlacemark.
|
addObserver, observeValueForKeyPath, performSelector, performSelectorOnMainThread, release, removeObserver, removeObserver, retain, setValueForKey, setValueForUndefinedKey, valueForKey, valueForUndefinedKey
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
supportsSecureCoding
public CLPlacemark(CLPlacemark placemark)
placemark
- The CLPlacemark object that is used as a source for new
one.public Map<String,Object> addressDictionary()
public String administrativeArea()
public String country()
public String locality()
public String postalCode()
public String subAdministrativeArea()
public String subLocality()
public String subThoroughfare()
public String thoroughfare()
public String ISOcountryCode()
public CLRegion region()
public NSTimeZone timeZone()
public String inlandWater()
public String ocean()
public List<String> areasOfInterest()
public CLLocation location()
Copyright © 2020. All rights reserved.