UNPKG

@arcgis/core

Version:

ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API

23 lines (21 loc) 976 B
import type { JSONSupport } from "../../../core/JSONSupport.js"; export interface ImageMediaInfoValueProperties extends Partial<Pick<ImageMediaInfoValue, "linkURL" | "sourceURL">> {} /** * The `ImageMediaInfoValue` class contains information for popups regarding how images should be retrieved. * * @since 4.11 * @see [ImageMediaInfo](https://developers.arcgis.com/javascript/latest/references/core/popup/content/ImageMediaInfo/) */ export default class ImageMediaInfoValue extends JSONSupport { constructor(properties?: ImageMediaInfoValueProperties); /** A string containing a URL to be launched in a browser when a user clicks the image. */ accessor linkURL: string | null | undefined; /** A string containing the URL to the image. */ accessor sourceURL: string | null | undefined; /** * Creates a deep clone of the ImageMediaInfoValue class. * * @returns A deep clone of the ImageMediaInfoValue instance. */ clone(): ImageMediaInfoValue; }