Maps API for JavaScript Developer's Guide

H.ui.ZoomControl.Options

Type Definition Summary

This typedef defines configuration (initialization) properties for a ZoomControl instance.

[ For full details, see the Type Definition Details ]

Property Summary

Table 1. Properties
Properties

zoomSpeed

The zoom speed in levels per millisecond, defaults to 0.004

alignment

The layout alignment which should be applied to the given UI control, defaults to H.ui.LayoutAlignment.RIGHT_MIDDLE

slider

A flag indicating whether to show the slider (true) or not (false, default)

sliderSnaps

A flag indicating whether the slider should snap to integer values or not, defaults to false. This option has effect only if slider is enabled.

Type Definition Description

This typedef defines configuration (initialization) properties for a ZoomControl instance.

Property Details

zoomSpeed: {number=} [optional]

The zoom speed in levels per millisecond, defaults to 0.004

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

The layout alignment which should be applied to the given UI control, defaults to H.ui.LayoutAlignment.RIGHT_MIDDLE

slider: {boolean=} [optional]

A flag indicating whether to show the slider (true) or not (false, default)

sliderSnaps: {boolean=} [optional]

A flag indicating whether the slider should snap to integer values or not, defaults to false. This option has effect only if slider is enabled.

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.