sphere

fun sphere(color: Color, diameter: Double, anchorPosition: SceneSymbolAnchorPosition = SceneSymbolAnchorPosition.Bottom): SimpleMarkerSceneSymbol

Creates a simple marker scene symbol with sphere style.

Return

A SimpleMarkerSceneSymbol.

Since

200.1.0

Parameters

color

The color of the symbol.

diameter

The diameter in meters of sphere symbol.

anchorPosition

The anchor position SceneSymbolAnchorPosition of the cube symbol.

Throws

if diameter is not a positive or valid number