eurostat-map
    Preparing search index...

    Interface DorlingSettings

    Settings for Dorling cartogram simulation behavior.

    interface DorlingSettings {
        animate: boolean;
        strength: DorlingStrength;
        iterations: number;
        padding: number;
        onProgress?: (progress: number, map: any) => void;
        worker: boolean;
        workerD3URL?: string;
    }
    Index

    Properties

    animate: boolean

    Animate simulation ticks in real time.

    strength: DorlingStrength

    Gravity strength toward original centroids.

    iterations: number

    Collision force iterations per tick.

    padding: number

    Extra collision padding between symbols.

    onProgress?: (progress: number, map: any) => void

    Progress callback used by worker-based simulation.

    worker: boolean

    Run non-animated simulation in a Web Worker.

    workerD3URL?: string

    URL of the D3 bundle used by Dorling worker mode.