Select to view content in your preferred language

Query Widget Polygon Color

1988
5
12-07-2010 07:02 AM
PaulSpahr
Emerging Contributor
Hello,

Newbie to flex and html.  I've modified the QueryWidget_Louisville_PoliceStations to display a polygon map service.  The widget is functional, however, when using the widget the polygons appear as a transparent red fill with a red outline.  Is there a way to change this to display another color?

Thanks,
Paul
Tags (2)
0 Kudos
5 Replies
RobertScheitlin__GISP
MVP Emeritus
Paul,

   Sure just add this to the SearchWidget.xml

<symbols>
     <simplefillsymbol color="0x00ff00" alpha="0.8">
      <outline color="0x00ff00" alpha="1" width="2"/>
     </simplefillsymbol>
    </symbols>

somewhere inside the configuration element (i.e. like at the very bottom before the </configuration>).
0 Kudos
PaulSpahr
Emerging Contributor
Awesome!  I used this site to pick out some new colors: http://www.colorpicker.com/

Thanks!
0 Kudos
MaciejSarnowski
Deactivated User
Anybody knows, why despite the fact that I put this line of code in my xml file, there are no changes?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Maciej Sarnowski,

   Sure... Based on your other thread you are missing an s at the end of symbol.

<symbols>
    <simplefillsymbol color="#000000" alpha="1">
                <outline color="#000000" alpha="1" width="2"/>
            </simplefillsymbol>
    </symbols>
0 Kudos
MaciejSarnowski
Deactivated User
Yeaaah!

Thank you very much Robert!
0 Kudos