sofia.maps.ProvidesMarkerLongitude |
Indicates that a MarkerOverlay should use the annotated method to retrieve the longitude component of the object's location on the map.
The method bearing this annotation must be public, take no arguments, and
return a numeric value indicating the decimal degrees (float
or
double
preferred, or the corresponding wrapper types).
If your objects already have a method that returns the latitude and longitude as a GeoPoint object, then you may want to use the ProvidesMarkerGeoPoint annotation instead.
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
java.lang.annotation.Annotation
|