A class representing image link data within the map.

Hierarchy

  • default
    • ImageData

Properties

Accessors

Methods

Properties

id: string

The identity of the map metadata.

Accessors

  • get altText(): undefined | string
  • Gets the alt text of the image.

    Returns undefined | string

    The alt text of the image.

  • get name(): undefined | string
  • Gets the alt text of the image.

    Returns undefined | string

    The alt text of the image.

    Use altText instead.

  • get url(): undefined | string
  • Gets the url of the image.

    Returns undefined | string

    The url of the image.

Methods

  • /**

    • Serializes the image data to JSON.

    Returns { id: string; name: undefined | string; url: undefined | string }

    An object representing the image.

  • Checks if the provided instance is of type Image.

    Parameters

    • instance: object

      The instance to check.

    Returns instance is ImageData

    True if the instance is a Image, false otherwise.

MMNEPVFCICPMFPCPTTAAATR