toMultilayerSymbol method

MultilayerPointSymbol toMultilayerSymbol()

Converts a SimpleMarkerSymbol to a MultilayerPointSymbol.

This method allows you to create complex and custom symbols with multiple layers of different type of symbology. Simple marker symbol provides a factory of shapes such as square, diamond, and cross. This method generates a MultilayerPointSymbol that contains a VectorMarkerSymbolLayer that has a VectorMarkerSymbolElement with a polygon representation of the simple marker symbol geometry. The value of the MultilayerSymbol.sceneSizeUnit property of the multilayer point symbol defaults to SymbolSizeUnits.dips.

Return Value: A MultilayerPointSymbol object.