TomTom Maps for JavaScript
    Preparing search index...

    Type Alias AttributionPadding

    AttributionPadding: number | { horizontal?: number; vertical?: number }

    Distance in CSS pixels between the attribution and the map edges it is anchored to.

    A single number applies to both axes. The object form sets them apart: horizontal is the gap to the left or right edge, vertical the gap to the top or bottom edge. Which edges those are follows AttributionOptions.position.

    padding: 16                              // 16px from both edges
    padding: { horizontal: 12, vertical: 8 } // the default
    padding: { vertical: 24 } // 24px from the anchored horizontal edge, default 12px in