public class MKUserLocation extends NSObject implements MKAnnotation
| Modifier and Type | Method and Description |
|---|---|
CLLocationCoordinate2D |
coordinate()
Define the central point of the annotation.
|
boolean |
isUpdating()
Returns a Boolean that shows whether user's location is being updated.
|
CLLocation |
location()
Returns the current location of the device.
|
void |
setSubtitle(String subtitle)
Sets the subtitle of user's location annotation.
|
void |
setTitle(String title)
Sets the title of user's location annotation.
|
String |
subtitle()
Returns the subtitle of the annotation on the map view.
|
String |
title()
Returns the title of the annotation on the map view.
|
addObserver, observeValueForKeyPath, performSelector, performSelectorOnMainThread, release, removeObserver, removeObserver, retain, setValueForKey, setValueForUndefinedKey, valueForKey, valueForUndefinedKeyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetCoordinatepublic CLLocation location()
public boolean isUpdating()
public String subtitle()
MKAnnotationsubtitle in interface MKAnnotationpublic void setSubtitle(String subtitle)
subtitle - The subtitle of user's location annotation.public String title()
MKAnnotationtitle in interface MKAnnotationpublic void setTitle(String title)
title - The title of user's location annotation.public CLLocationCoordinate2D coordinate()
MKAnnotationcoordinate in interface MKAnnotationCopyright © 2020. All rights reserved.