MapMarker

open class MapMarker : MapObject<MarkerData>

Represents the class implementation for marker object of MapObject. Marker used to display an icon on a geographical position on a map. The map handles proper placement of icons on the screen as well as panning and rotation.

Functions

at
Link copied to clipboard
open fun at(@NonNull coordinates: GeoCoordinates): MarkerData.Builder
open fun at(latitude: Double, longitude: Double): MarkerData.Builder
atScreen
Link copied to clipboard
open fun atScreen(@NonNull screenPosition: ViewObjectData.Point): MarkerData.Builder
describeContents
Link copied to clipboard
abstract fun describeContents(): Int
open fun describeContents(): Int
equals
Link copied to clipboard
open fun equals(o: Any): Boolean
open fun equals(o: Any): Boolean
from
Link copied to clipboard
open fun from(@NonNull poi: ProxyPlace): MarkerData.Builder
open fun from(@NonNull uiObject: UiObject): MarkerData.Builder
getData
Link copied to clipboard
open fun getData(): T
Get data associated with this viewObject.
getId
Link copied to clipboard
open fun getId(): Int
getMapObjectType
Link copied to clipboard
open fun getMapObjectType(): Int
Returns the type of map object
getObjectType
Link copied to clipboard
open fun getObjectType(): Int
Returns the type of view object.
getPosition
Link copied to clipboard
open fun getPosition(): GeoCoordinates
Returns the position of selected view object.
getZIndex
Link copied to clipboard
open fun getZIndex(): Int
hashCode
Link copied to clipboard
open fun hashCode(): Int
isValidParcelable
Link copied to clipboard
open fun isValidParcelable(): Boolean
If object after recreate from parcel contains all of reference like original object method return true.
setId
Link copied to clipboard
open fun setId(id: Int)
For internal use only.
setZIndex
Link copied to clipboard
open fun setZIndex(ZIndex: Int)
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p: Parcel, p1: Int)
open fun writeToParcel(dest: Parcel, flags: Int)
For documentation, see android.os.Parcelable.

Properties

CREATOR
Link copied to clipboard
val CREATOR: Parcelable.Creator<MapMarker>