Contents

new Padding(paddings)

Creates a padding object and initializes its values with the provided object literal.

Declaration

constructor(paddings: PaddingConstructorOptions);

Parameters

Discussion

Use an object literal instance with the keys defined in PaddingConstructorOptions.

    // An object literal that conforms to `PaddingConstructorOptions`.
    map.padding = new mapkit.Padding({top: 10, right: 10, bottom: 10, left:10});

@Comment {
    This document is generated from symbols produced
    from the MapKit JS source code.
    Feel free to remove this comment when the content is populated.
}

See Also

Creating padding