Icon

Provides an interface to set icon and its style for a placemark.

Provides an interface to set icon and its style for a placemark.

Provides an interface to set icon and its style for a placemark.

Properties

Link copied to clipboard
actual val isValid: Boolean

Tells if this PlacemarkPresentation is valid or not.

expect val isValid: Boolean

Tells if this PlacemarkPresentation is valid or not.

actual val isValid: Boolean

Tells if this PlacemarkPresentation is valid or not.

Link copied to clipboard
actual var style: IconStyle

The style properties (scale, zIndex, etc.) of the icon placemark.

expect var style: IconStyle

The style properties (scale, zIndex, etc.) of the icon placemark.

actual var style: IconStyle

The style properties (scale, zIndex, etc.) of the icon placemark.

Functions

Link copied to clipboard
actual open operator override fun equals(other: Any?): Boolean

Two handles are equal when they have the same type and wrap the same native object.

expect open operator override fun equals(other: Any?): Boolean

Two handles are equal when they have the same type and wrap the same native object.

actual open operator override fun equals(other: Any?): Boolean

Two handles are equal when they have the same type and wrap the same native object.

Link copied to clipboard
actual open override fun hashCode(): Int

The hash code of the wrapped native object, consistent with equals.

expect open override fun hashCode(): Int

The hash code of the wrapped native object, consistent with equals.

actual open override fun hashCode(): Int

The hash code of the wrapped native object, consistent with equals.

Link copied to clipboard
actual fun remove()

Removes the presentation.

expect fun remove()

Removes the presentation.

actual fun remove()

Removes the presentation.

Link copied to clipboard
actual fun setImage(image: ImageProvider, style: IconStyle?, onFinished: Callback?)

Sets the image for the icon.

expect fun setImage(image: ImageProvider, style: IconStyle? = null, onFinished: Callback? = null)

Sets the image for the icon.

actual fun setImage(image: ImageProvider, style: IconStyle?, onFinished: Callback?)

Sets the image for the icon.

Link copied to clipboard
open override fun toNative(): Icon
open override fun toNative(): ERROR CLASS: Symbol not found for NativeIcon