LuciadRIA (2026.0.11)
    Preparing search index...

    Constructor options for the KMLCodec.

    2020.1

    interface KMLCodecConstructorOptions {
        idProvider?: FeatureIDProvider;
        origin?: string;
        withStyle?: boolean;
    }

    Properties

    idProvider?: FeatureIDProvider

    Optional callback that provides IDs for decoded features when the source data does not define an ID.

    For features without a source-defined ID, the codec derives a fallback ID. If idProvider is configured, it is called to provide the feature ID.

    2026.0.06

    origin?: string

    Defines the "Base URL" to resolve links from. If this value is defined, then sub-links are resolved from the target URL. Otherwise, links are resolved from the current window's URL.

    withStyle?: boolean

    Defines whether to decode styles within the codec (default = true). If styles are not decoded, then every decoded feature will be forced to use the default KML styles.