Maps API for JavaScript Developer's Guide

H.map.ViewPort.Options

Type Definition Summary

Viewport initialization options.

[ For full details, see the Type Definition Details ]

Property Summary

Table 1. Properties
Properties

margin

The size in pixel of the supplemental area to render for each side of the map

padding

The padding in pixels for each side of the map

Type Definition Description

Viewport initialization options.

Property Details

margin: {number=} [optional]

The size in pixel of the supplemental area to render for each side of the map

padding: {H.map.ViewPort.Padding=} [optional]

The padding in pixels for each side of the map