---
title: top
framework: mapkitjs
role: symbol
role_heading: Instance Property
path: mapkitjs/padding/top
---

# top

The amount of padding, in CSS pixels, to inset the map from the top edge.

## Declaration

```data
top: number;
```

## See Also

### Controlling the map’s padding

- [bottom](mapkitjs/padding/bottom.md)
- [left](mapkitjs/padding/left.md)
- [right](mapkitjs/padding/right.md)
