GeoRSS widget tags
This page describes an older version, please read about the latest version at:
http://resources.arcgis.com/en/help/flex-viewer/concepts/
http://resources.arcgis.com/en/help/flex-viewer/concepts/
Configuration file for the GeoRSS widget
The general structure of the the GeoRSS widget configuration file is shown by the conceptual graphic below.
The file is defined by a <configuration> tag that identifies it as a configuration file for the Viewer. It supports setting the GeoRSS feed source, and the results returned and displayed in the widget. It has the following child tags:
- <source>
- URL address to the GeoRSS feed.
- <useproxy>
- If true, will use the proxy specified in the main configuration file.
- <fields>
- Container for the
retrieved fields.
It has the following child tag:
- <field>
- Field to display.
It has the following attributes:
- name - Name of the XML tag.
- alias - Aliasing of the above name.
- <titlefield>
- Field to display as the title in the Info Popup window.
- <linkfield>
- Refers to a field that contains URL values. If the URL link has an extension .JPG, .PNG or .GIF, then the image is displayed, otherwise a clickable link is displayed. When the link is clicked a new tab opens to display content that is referenced by the link.
- <refreshrate>
- Time in seconds before re-requesting for updated features.
- <zoomscale>
- Scale to zoom to when item is clicked in the widget results. Default is 50000 (i.e. zoom to 1:50,000).
Labels and symbols
In addition, the configuration file also supports changing the labels and symbols used in the widget dialog (this is not shown in the conceptual graphic).
- <labels>
- Container for labels
that can be modified in this widget. It has several child tags:
- <loadinglabel>
- Label for status window as the GeoRSS feed is being queried (default for English is Loading...).
- <symbols>
- Property for custom
symbols in the widget. Specifically, the symbol that is shown for
each returned GeoRSS feed result. It has several child tags:
- <picturemarkersymbol>
- Defines a
picture marker symbol.
It has the following attributes:
- url - URL or path to the picture marker symbol location (default is widget icon).
- height - Symbol height (in pixels - default is 30)
- width - Symbol width (in pixels - default is 30).
- xoffset - Symbol offset along the x-axis (in pixels - default is 0).
- yoffset- Symbol offset along the y-axis (in pixels - default is 0).
- <simplelinesymbol>
- Defines a
simple line symbol. It has the following attributes:
- color - Symbol color; values are based on RGB in hexadecimal format (default is Red - 0xFF0000).
- alpha - Symbol transparency level. Values range from 0.0 (transparent) to 1.0 (opaque); (default is 0.8).
- width - Symbol width (in pixels - default is 2).
- <simplefillsymbol>
- Defines a
simple fill symbol.
It has the following attributes:
- color - Symbol color; color values are based on RGB in hexadecimal format (default is Red - 0xFF0000).
- alpha - Symbol transparency level. Values range from 0.0 (transparent) to 1.0 (opaque); (default is 0.5).
- <outline>
- Provides an outline
for the symbol.
It has the following attributes:
- color - Outline color; color values are based on RGB in hexadecimal format (default is Red - 0xFF0000).
- alpha - Outline transparency level. Values range from 0.0 (transparent) to 1.0 (opaque); (default is 0.8)
- width - Outline width (in pixels - default is 2).
2/15/2012