Class Label

Class representing a label on the MapView.

Labels contain text and an image that are anchored to a specific point on the map. They automatically rotate and show and hide based on priority and zoom level. Use them to inform users about location names, points of interest and more!

Effective use of labels allows an app to convey additional information to the user. For example labels can be used to show room names, important points of interest, main entrances or any other piece of contextual information that is useful to the user.

Refer to the Labels Guide for more information and interactive examples.

Implements

Properties

Methods

Properties

id: string

The label's id

target: IAnchorable

The target object where the label is anchored.

text: string

The label's text

Methods

  • Checks if the provided instance is of type Label.

    Parameters

    • instance: object

      The instance to check.

    Returns instance is Label

    True if the instance is a Label, false otherwise.

MMNEPVFCICPMFPCPTTAAATR