Maps API for JavaScript Developer's Guide

H.map.Spatial.Label

Type Definition Summary

This typedef defines data to used in a rendering hint for a label.

[ For full details, see the Type Definition Details ]

Property Summary

Table 1. Properties
Properties

x

The x coordinate of the first line's starting point

y

The y coordinate of the first line's base line

angle

The clockwise rotation angle in radians

font

The CSS font-family

size

The CSS font-size

color

The CSS color

text

The text content, new line characters (\u000A) are interpreted as line breaks

Type Definition Description

This typedef defines data to used in a rendering hint for a label.

Property Details

x: {number}

The x coordinate of the first line's starting point

y: {number}

The y coordinate of the first line's base line

angle: {number}

The clockwise rotation angle in radians

font: {string}

The CSS font-family

size: {number}

The CSS font-size

color: {string}

The CSS color

text: {string}

The text content, new line characters (\u000A) are interpreted as line breaks

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.