OverlayItem

Marker object.

Constructors

Link copied to clipboard
constructor()
constructor(address: Long)
constructor(address: Long, isRef: Boolean)

Properties

Link copied to clipboard

Address of native referenced object. nullptr if not referencing any native allocated object. Note native allocation will happen only once.

Link copied to clipboard

OverlayItem category id

Link copied to clipboard

The marker coordinates

Link copied to clipboard
val image: Image?

The image of the item.

Link copied to clipboard
val name: String?

The name of the item.

Link copied to clipboard

The parent overlay info.

Link copied to clipboard

The parent overlay UID.

Link copied to clipboard
val uid: Long

The unique ID of the item within the overlay.

Functions

Link copied to clipboard
external fun assign(value: OverlayItem)

Copies value into this instance

Link copied to clipboard

Cancel an asynchronous get OverlayItem preview EXTENDED data.

Link copied to clipboard
fun finalize()

Overrides finalize that garbage collector will call when needed.

Link copied to clipboard
external fun getPreviewData(): ParameterList?

Get OverlayItem preview data as parameters list

Get OverlayItem data

Link copied to clipboard

Asynchronous get OverlayItem preview EXTENDED data (dynamic data that needs to be downloaded) as parameters list.

Link copied to clipboard
external fun getPreviewUrl(webViewSize: Size?): String?

Get the preview URL for the item (if any). The preview URL may be opened by the UI into a web browser window to present more details to the user about this item.

Link copied to clipboard

Check if this type of OverlayItem has preview EXTENDED data (dynamic data that needs to be downloaded)

Link copied to clipboard

True if keeps a reference to a C++ SDK object False if keeps a C++ SDK object

Link copied to clipboard
operator fun not(): Boolean

Checks if this object is valid.

Link copied to clipboard
fun release()

Releases the native referenced value of this object if: