Maps API for JavaScript Developer's Guide

H.ui.UI.Options

Type Definition Summary

Optional parameters to be passed to the UI constructor.

[ For full details, see the Type Definition Details ]

Property Summary

Table 1. Properties
Properties

unitSystem

An optional value indicating the distance measurement system for the UI, the default is H.ui.UnitSystem.METRIC

zoom

A value indicating the zoom level

zoomrectangle

An object containing ZoomRectangle initialization options

mapsettings

An object containing MapSettingControl initialization options

scalebar

An object containing ScaleBar initialization options

panorama

An object containing panorama initialization options

distancemeasurement

An object containing DistanceMeasurement initialization options

locale

Defines the language in which UI is to be rendered. It can be a predefined H.ui.i18n.Localization object with a custom translation map, or one of following strings, 'en-US', 'de-DE', 'es-ES', 'fi-FI', 'fr-FR', 'it-IT', 'nl-NL', 'pl-PL', 'pt-BR', 'pt-PT', 'ru-RU', 'tr-TR', 'zh-CN'. If the property is not specified, the UI uses 'en-US' by default

Type Definition Description

Optional parameters to be passed to the UI constructor.

Property Details

unitSystem: {H.ui.UnitSystem=} [optional]

An optional value indicating the distance measurement system for the UI, the default is H.ui.UnitSystem.METRIC

zoom: {(H.ui.ZoomControl.Options | boolean)=} [optional]

A value indicating the zoom level

zoomrectangle: {(H.ui.ZoomRectangle.Options | boolean)=} [optional]

An object containing ZoomRectangle initialization options

mapsettings: {(H.ui.MapSettingsControl.Options | boolean)=} [optional]

An object containing MapSettingControl initialization options

scalebar: {(H.ui.ScaleBar.Options | boolean)=} [optional]

An object containing ScaleBar initialization options

panorama: {(H.ui.Pano.Options | boolean)=} [optional]

An object containing panorama initialization options

distancemeasurement: {(H.ui.DistanceMeasurement.Options | boolean)=} [optional]

An object containing DistanceMeasurement initialization options

locale: {(H.ui.i18n.Localization | string)=} [optional]

Defines the language in which UI is to be rendered. It can be a predefined H.ui.i18n.Localization object with a custom translation map, or one of following strings, 'en-US', 'de-DE', 'es-ES', 'fi-FI', 'fr-FR', 'it-IT', 'nl-NL', 'pl-PL', 'pt-BR', 'pt-PT', 'ru-RU', 'tr-TR', 'zh-CN'. If the property is not specified, the UI uses 'en-US' by default

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.