MapObject

abstract class MapObject<T : ViewObjectData?> : ViewObject<T>

Represent the class implementation for view objects that were added to map by user. In order to display the object on the map, the object needs to be added to an MapView by calling addMapObject:

Types

MapObjectType
Link copied to clipboard
annotation class MapObjectType

Functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
open fun describeContents(): Int
equals
Link copied to clipboard
open fun equals(o: Any): Boolean
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.

Inheritors

UiObject
Link copied to clipboard
MapMarker
Link copied to clipboard
MapPolygon
Link copied to clipboard
MapPolyline
Link copied to clipboard
MapTrafficSign
Link copied to clipboard
MapCircle
Link copied to clipboard
MapRoute
Link copied to clipboard
MapSmartLabel
Link copied to clipboard