Namespace: ui

H.ui

This namespace contains classes and functionality for UI elements.

Classes

Control
DistanceMeasurement
InfoBubble
MapSettingsControl
Overview
ScaleBar
UI
ZoomControl
ZoomRectangle

Namespaces

base
i18n

Members

H.ui.LayoutAlignment string static

This enumeration holds values indicating the possible layout alignments for UI elements.

Properties:
Name Description
TOP_LEFT
TOP_CENTER
TOP_RIGHT
LEFT_TOP
LEFT_MIDDLE
LEFT_BOTTOM
RIGHT_TOP
RIGHT_MIDDLE
RIGHT_BOTTOM
BOTTOM_LEFT
BOTTOM_CENTER
BOTTOM_RIGHT

H.ui.UnitSystem string static

This enumeration defines identifiers for the supported distance measurement systems for the UI.

Properties:
Name Description
IMPERIAL

This value represents the imperial unit system, using miles and feet (value: 'imperial').

METRIC

This value represents the metric unit system, using meters and kilometers, etc (value: 'metric').