Defines an image to be displayed in a popup window.

Referenced by: mediaInfo

Properties

PropertyDetails
altTextA string providing the alternate text for the media.
captionA string caption describing the media.
refreshIntervalRefresh 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.
titleA string title for the media.
typeA string defining the type of media.
Valid value of this property image
valueThe 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"
}
}