public interface

AnnotationMarker

implements Parcelable
com.sap.cloud.mobile.fiori.maps.edit.AnnotationMarker<T>
Known Indirect Subclasses

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Methods
abstract AnnotationMarker<T> branch()
Branches at the current marker.
abstract String getAddress()
abstract String getName()
abstract T getPosition()
abstract int getSequence()
Returns the sequence number that's used to distinguish markers at the same position.
abstract boolean isSelected()
Returns the selected state of the marker
abstract void setAddress(String address)
The address for this marker position.
abstract void setName(String name)
Sets the name/feature of this marker position.
abstract void setPosition(T point)
Sets the position for this marker.
abstract void setSelected(boolean isSelected)
Sets the selected state of the marker
abstract static String toDecimalString(double lat, double lon)
Returns the decimal degree representation of the marker.
abstract static String toSexagesimalString(double lat, double lon)
Returns the DMS representation of the marker
abstract String toSexagesimalString()
Returns the DMS representation of the marker
[Expand]
Inherited Methods
From interface android.os.Parcelable

Public Methods

public abstract AnnotationMarker<T> branch ()

Branches at the current marker. Creates a new marker at the same position with a different sequence number.

public abstract String getAddress ()

public abstract String getName ()

public abstract T getPosition ()

public abstract int getSequence ()

Returns the sequence number that's used to distinguish markers at the same position.

Returns
  • sequence number, default to 0

public abstract boolean isSelected ()

Returns the selected state of the marker

public abstract void setAddress (String address)

The address for this marker position. Assigned from geocoder API if there is an address for the position.

Parameters
address The address for this position.

public abstract void setName (String name)

Sets the name/feature of this marker position. e.g. "Golden Gate Bridge"

Parameters
name the name of the position

public abstract void setPosition (T point)

Sets the position for this marker. Calling this API will affect equality check.

Parameters
point new position

public abstract void setSelected (boolean isSelected)

Sets the selected state of the marker

public static abstract String toDecimalString (double lat, double lon)

Returns the decimal degree representation of the marker. Rounded to 8 decimals (mm level)

Parameters
lat latitude
lon longitude

public static abstract String toSexagesimalString (double lat, double lon)

Returns the DMS representation of the marker

Parameters
lat latitude
lon longitude

public abstract String toSexagesimalString ()

Returns the DMS representation of the marker