Maps API for JavaScript Developer's Guide

H.map.ViewPort.Padding

Type Definition Summary

This variable defines viewport padding.

[ For full details, see the Type Definition Details ]

Property Summary

Table 1. Properties
Properties

top

Padding at the top of the viewport (in pixels)

right

Padding on the right of the viewport (in pixels)

bottom

Padding at the bottom of the viewport (in pixels)

left

Padding on the left of the viewport (in pixels)

Type Definition Description

This variable defines viewport padding.

Property Details

top: {number}

Padding at the top of the viewport (in pixels)

right: {number}

Padding on the right of the viewport (in pixels)

bottom: {number}

Padding at the bottom of the viewport (in pixels)

left: {number}

Padding on the left of the viewport (in pixels)