Interface MapPackageDiff

interface MapPackageDiff {
    addedLayerIds: string[];
    addedSourceBindings: HonuaMapPackageSourceBinding[];
    changedLayerIds: string[];
    changedSourceIds: string[];
    incremental: boolean;
    removedLayerIds: string[];
    removedSourceIds: string[];
    structuralReason?: string;
}

Properties

addedLayerIds: string[]

Layer ids newly added in next.

addedSourceBindings: HonuaMapPackageSourceBinding[]

Bindings present in next but not previous.

changedLayerIds: string[]

Layer ids whose raw layer spec changed.

changedSourceIds: string[]

sourceIds whose locator / filter changed — requires add-then-remove.

incremental: boolean

Whether the diff is safe to apply incrementally.

removedLayerIds: string[]

Layer ids removed in next.

removedSourceIds: string[]

sourceIds present in previous but not next.

structuralReason?: string

Human-readable reason when incremental is false.