SimpleMarkerSceneSymbol

Uses a 3D marker symbol to symbolize graphics and features that have point or multipoint geometry. Simple marker scene symbols display graphics and features (collectively referred to as geoelements) using predefined 3D markers such as SimpleMarkerSceneSymbolStyle.Cone, SimpleMarkerSceneSymbolStyle.Cube, and SimpleMarkerSceneSymbolStyle.Sphere.

Since

200.1.0

See also

Constructors

Link copied to clipboard
constructor(style: SimpleMarkerSceneSymbolStyle = SimpleMarkerSceneSymbolStyle.Sphere, color: Color = Color.white, height: Double = 100.0, width: Double = 100.0, depth: Double = 100.0, anchorPosition: SceneSymbolAnchorPosition = SceneSymbolAnchorPosition.Bottom)

Creates a simple marker scene symbol with the given values.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The style of the simple marker scene symbol. The style of the simple scene marker symbol SimpleMarkerSceneSymbolStyle. Returns SimpleMarkerSceneSymbolStyle.Cone if an error occurs.

Inherited properties

Link copied to clipboard

The anchor position of the simple marker scene symbol. The anchor position of the simple marker scene symbol SceneSymbolAnchorPosition.

Link copied to clipboard

The symbol color of the simple marker scene symbol.

Link copied to clipboard

The depth (in meters) of the simple marker scene symbol.

Link copied to clipboard

The heading (in degrees) of the scene marker symbol.

Link copied to clipboard

The height (in meters) of the simple marker scene symbol.

Link copied to clipboard

The pitch (in degrees) of the scene marker symbol.

Link copied to clipboard
var roll: Float

The roll (in degrees) of the scene marker symbol.

Link copied to clipboard

The width (in meters) of the simple marker scene symbol.

Functions

Link copied to clipboard
open override fun clone(): SimpleMarkerSceneSymbol

Inherited functions

Link copied to clipboard
suspend fun createSwatch(screenScale: Float, width: Float? = null, height: Float? = null, backgroundColor: Color = Color.transparent): Result<BitmapDrawable>

Creates a swatch of the symbol. This method will scale the symbol up or down in order to fit it in to the desired width and height of the swatch.

suspend fun createSwatch(screenScale: Float, width: Float, height: Float, geometry: Geometry, backgroundColor: Color = Color.transparent): Result<BitmapDrawable>

Creates a swatch of the symbol.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toJson(): String

Convert an object to JSON string.