com.sap.cloud.mobile.fiori.maps.edit.AnnotationMarker<T> |
![]() |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Branches at the current marker. Creates a new marker at the same position with a different sequence number.
Returns the sequence number that's used to distinguish markers at the same position.
Returns the selected state of the marker
The address for this marker position. Assigned from geocoder API if there is an address for the position.
address | The address for this position. |
---|
Sets the name/feature of this marker position. e.g. "Golden Gate Bridge"
name | the name of the position |
---|
Sets the position for this marker. Calling this API will affect equality check.
point | new position |
---|
Sets the selected state of the marker
Returns the decimal degree representation of the marker. Rounded to 8 decimals (mm level)
lat | latitude |
---|---|
lon | longitude |
Returns the DMS representation of the marker
lat | latitude |
---|---|
lon | longitude |