sphere static method

SimpleMarkerSceneSymbol sphere({
  1. required Color color,
  2. required double diameter,
  3. SceneSymbolAnchorPosition anchorPosition = SceneSymbolAnchorPosition.bottom,
})

Creates a simple marker scene symbol with sphere style.

Parameters:

  • color — The color of the symbol.
  • diameter — The diameter in meters of sphere symbol.
  • anchorPosition — The anchor position SceneSymbolAnchorPosition of the cube symbol.

Return Value: A SimpleMarkerSceneSymbol.