I want to change the pre-defined red arrow link icon in the search widget to another icon:

Where would I do this? It looks like the widget is drawing from the InfoPopupWidget.swf?
|
I want to change the pre-defined red arrow link icon in the search widget to another icon:
Where would I do this? It looks like the widget is drawing from the InfoPopupWidget.swf? |
||||
|
|
This is not configurable with the compiled version of the ArcGIS Viewer for Flex. Assuming that you are a Flex developer, already familiar with and working with the source code, and using the latest version (currently 2.3.1). The relevant file is widgets/SearchWidget/SearchResultItemRenderer.mxml and at the bottom of that file is where the source property is set to a specific image (w_link.png):
http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/Search_widget/01m300000023000000/ |
|||
|
|
|
Success! After re-compiling the Search Widget components: SearchResultItemRenderer.mxml, swf., .xml, and SearchWidget.swf. Also had to adjust picture size in SearchResultItemRenderer.mxml in code here:
as well as here:
|
|||
|
|
|
It looks as though you are using the flex sample viewer. |
||||
|
|