mediaInfo image

Defines an image to be displayed in a popup window.

Referenced by: mediaInfo

Properties

Property Details
altText A string providing the alternate text for the media.
caption A string caption describing the media.
refreshInterval Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled. If the property does not exist, it's equivalent to having a value of 0.
title A string title for the media.
type A string defining the type of media.
Valid value of this property image
value The value object contains information for popup windows about how images should be retrieved.

mediaInfo Example

{
  "type": "image",
  "title": "<div><p style='font-weight:bold;'><span>Image</span></p></div>",
  "caption": "<div><p><span>californiaa flag</span></p><p><span /></p></div>",
  "value": {
    "sourceURL": "http://www.50states.com/flag/image/nunst0006.gif"
  }
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close