getLayerContent

Function

create a new content with a layer that prefers the layer properties over item properties

create a new content with a layer that prefers the layer properties over item properties

Parameters

Parameter Type Default Notes
content Required IHubContent

service or layer content

layerId Optional number

id of the layer

Returns

a new content


Function defined in packages/content/src/enrichments.ts:592