Maps API for JavaScript Developer's Guide

H.ui.Overview.Options

Type Definition Summary

This typedef defines the configuration (initialization) properties for an object representing an overview map.

[ For full details, see the Type Definition Details ]

Property Summary

Table 1. Properties
Properties

alignment

A value indicating the layout alignment which should be applied to this control, default is H.ui.LayoutAlignment.RIGHT_BOTTOM

zoomDelta

option defines the delta between the zoom levels of the main map and the overview map (defaults to 3)

scaleX

A value that defines the ratio between the view port width of the main map and that of the overview map (defaults to 5, which means that the width of overview map is five times smaller)

scaleY

A value that defines the ratio between map view port height of the main map and that of the overview map (defaults to 5, which means that map view port height of the overview map is five times smaller) @publish

Type Definition Description

This typedef defines the configuration (initialization) properties for an object representing an overview map.

Property Details

alignment: {H.ui.LayoutAlignment=} [optional]

A value indicating the layout alignment which should be applied to this control, default is H.ui.LayoutAlignment.RIGHT_BOTTOM

zoomDelta: {number=} [optional]

option defines the delta between the zoom levels of the main map and the overview map (defaults to 3)

scaleX: {number=} [optional]

A value that defines the ratio between the view port width of the main map and that of the overview map (defaults to 5, which means that the width of overview map is five times smaller)

scaleY: {number=} [optional]

A value that defines the ratio between map view port height of the main map and that of the overview map (defaults to 5, which means that map view port height of the overview map is five times smaller) @publish