<!--
{
  "availability" : [
    "MapKit JS: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKitJS",
  "identifier" : "/documentation/MapKitJS/Padding/PaddingConstructor",
  "metadataVersion" : "0.1.0",
  "role" : "Constructor",
  "symbol" : {
    "kind" : "Constructor",
    "modules" : [
      "MapKit JS"
    ],
    "preciseIdentifier" : "instctr/mapkit.Padding/PaddingConstructor"
  },
  "title" : "new Padding()"
}
-->

# new Padding()

Creates a padding object with no inset margins.

```
constructor();
```

## Discussion

If you provide no arguments, the framework initializes the padding object with default values of `0` for all inset margins. Use other initializers to create padding objects with different values.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)