public abstract @interface

ProvidesMarkerGeoPoint

implements Annotation
sofia.maps.ProvidesMarkerGeoPoint

Class Overview

Indicates that a MarkerOverlay should use the annotated method to retrieve the object's location on the map.

The method bearing this annotation must be public, take no arguments, and return a GeoPoint.

If your objects already have separate methods that return the latitude and longitude in decimal degrees (as floats or doubles), then you may want to use the ProvidesMarkerLatitude and ProvidesMarkerLongitude annotations instead.

If no method bears this annotation (or the equivalent ProvidesMarkerLatitude and ProvidesMarkerLongitude ones), or if the annotated method returns null, the object will not be displayed on the map.

Summary

[Expand]
Inherited Methods
From interface java.lang.annotation.Annotation