Skip to content

applyDocumentBaseToLayer

applyDocumentBaseToLayer<T>(layer, base): T

Defined in: packages/core/src/utils/document-base.ts:392

Resolve the URLs of one raw document layer (the addLayer() shape): its inline source and its popup links.

Type Parameter
T
ParameterType
layerT
basestring | null | undefined

T