Profile ID.
Layer ID.
Style ID.
Style file name (e.g. "default.json").
Layer directory (e.g. "layers/tourism_poi_all").
OptionalstyleDirectory: string = "styles"Sub-directory holding the style files, i.e. the
layer's documented styles.directory. It was hard-coded to "styles" until S5.2, which
made this the only fetch site and so had to honour the parameter both callers can set.
Loaded and validated style with extracted label config.
Loads and validates a style file.
This is the single style-fetching entry point since S5.2:
LayerConfigManager .loadDefaultStyledelegates here rather than issuing its own barefetch(), so the boot path fetches each style once instead of twice and every style now goes through _applyStyleValidation. See that function's own note for the arbitration.⚠️ The cache key deliberately omits
styleDirectory: for a givenprofileId:layerId:styleIdthe directory comes from that layer's own config, so it cannot differ between callers. Keying on it would split the cache and silently restore the double fetch this function exists to prevent.