public abstract class

FioriAnnotationOptions

extends Object
implements LegendItemSource
java.lang.Object
   ↳ com.sap.cloud.mobile.fiori.maps.FioriAnnotationOptions
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Annotation is an artifact added on top of the map. For example marker, polyline and polygon. The common attributes are title and legend title.

Summary

Fields
public static final int[] COLOR_RESOURCES Predefined color resource ids to be used for all annotations, e.g.
public final String legendTitle The legend text for this marker.
public final Object tag
public final String title The text displayed when the marker is selected.
Protected Constructors
FioriAnnotationOptions(String title, String legendTitle)
FioriAnnotationOptions(String title, String legendTitle, Object tag)
Public Methods
String getLegendTitle()
Returns the legend title if it's defined, otherwise return title
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.sap.cloud.mobile.fiori.maps.LegendItemSource

Fields

public static final int[] COLOR_RESOURCES

Predefined color resource ids to be used for all annotations, e.g. marker, polyline and polygon.

public final String legendTitle

The legend text for this marker.

public final Object tag

public final String title

The text displayed when the marker is selected.

Protected Constructors

protected FioriAnnotationOptions (String title, String legendTitle)

protected FioriAnnotationOptions (String title, String legendTitle, Object tag)

Public Methods

public String getLegendTitle ()

Returns the legend title if it's defined, otherwise return title