Variable StyleLoaderConst
StyleLoader: {
loadAndValidateStyle: (
profileId: string,
layerId: string,
styleId: string,
styleFileName: string | undefined,
layerDirectory: string,
styleDirectory?: string,
) => Promise<unknown>;
extractLabelConfig: (styleData: unknown) => Record<string, unknown> | null;
clearStyleCache: {};
styleCache: Map<string, unknown>;
} = ...
Type Declaration
loadAndValidateStyle: (
profileId: string,
layerId: string,
styleId: string,
styleFileName: string | undefined,
layerDirectory: string,
styleDirectory?: string,
) => Promise<unknown>
clearStyleCache: {}
styleCache: Map<string, unknown>
Module Style Loader — exposes all public functions.