[android] Make Annotation.getId() suitable for public use.

Fixes #2914
This commit is contained in:
Leith Bade
2015-11-06 12:39:03 +11:00
parent 23d1b75e78
commit 83cf2197fa

View File

@@ -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;