summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorLeith Bade <leith@mapbox.com>2015-11-06 12:39:03 +1100
committerLeith Bade <leith@mapbox.com>2015-11-09 20:06:14 +1100
commit83cf2197fa544481295d62221d7d7f294d466d6f (patch)
treedb9d5d687fbd7e4f3a738c745ba4578f1929e0cc /android
parent23d1b75e78ea08474336dbf6aecfb2b67bc434c9 (diff)
downloadqtlocation-mapboxgl-83cf2197fa544481295d62221d7d7f294d466d6f.tar.gz
[android] Make Annotation.getId() suitable for public use.
Fixes #2914
Diffstat (limited to 'android')
-rw-r--r--android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/Annotation.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/Annotation.java b/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/Annotation.java
index a83079ac41..4492f5cc69 100644
--- a/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/Annotation.java
+++ b/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/Annotation.java
@@ -18,7 +18,10 @@ public abstract class Annotation implements Comparable<Annotation> {
}
/**
- * Do not use this method. Used internally by the SDK.
+ * Gets the annotation's unique ID.
+ * <p/>
+ * This ID is unique for a MapView instance and is suitable for associating your own extra
+ * data with.
*/
public long getId() {
return id;