generateDataSourceNameFromLayerName()

Information

Implementation version: beta 1.02

Description

It generates the name of the dataSource from the layer name's format.

Invocation

generateDataSourceNameFromLayerName(
	layerName
)

Input parameters

layerName

The name of the layer from which the dataSource's name will be generated. This name corresponds to the entity collection's name (featureCollection.name). It is entered as a text string.


Use examples

Generate the name corresponding to the dataSource of a layer named 'mi capa de ejemplo' (Spanish for "my sample layer"):

generateDataSourceNameFromLayerName(
	'mi capa de ejemplo'
)