A hyperlink associated with a feature or layer.

Hierarchy

Constructors

  • Creates a new Hyperlink instance with the given properties.

    Parameters

    Returns Hyperlink

Accessors

  • get iconUrl(): string
  • An optional URL to an icon image that will be displayed with the link.

    Returns string

  • set iconUrl(iconUrl): void
  • Parameters

    • iconUrl: string

    Returns void

  • get target(): string
  • The target for the link (e.g. "_blank").

    Returns string

  • set target(target): void
  • Parameters

    • target: string

    Returns void

  • get text(): string
  • The human-readable text of the link.

    Returns string

  • set text(text): void
  • Parameters

    • text: string

    Returns void

  • get tooltip(): string
  • A tooltip that will appear when a user hovers over the link.

    Returns string

  • set tooltip(tooltip): void
  • Parameters

    • tooltip: string

    Returns void

  • get url(): string
  • The URL to link to.

    Returns string

  • set url(url): void
  • Parameters

    • url: string

    Returns void

Methods

  • Parameters

    Returns void

  • Parameters

    Returns Promise<void>

  • Returns Promise<void>

  • Returns a list of fields references contained in the hyperlink properties.

    Returns string[]

  • Returns the serializable properties.

    Parameters

    • serializeMode: SerializeMode = "all"

      Optional. If specified, only properties that support the given serialization mode will be returned.

    Returns PropertyDefs<HyperlinkProperties>