Coloring the output layer result

772
2
10-25-2016 04:27 AM
MargaRaiz
New Contributor III

Hello!

I am generating some layer from a querytask.execute result created from the selected options of a custom form widget. I have a color array in the config file in order to color the simbology of the outpoot result,  but I would like to know if is there is another better idea or if it is possible to access to the coolor pick tool in order to improve the development. Any ideas?

Thanks!
Marga

0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus

Marga,

   Sure you could use a color picker. The jimu.js dijit folder has a ColorPicker.js that you can use. You really need to get into a habit of looking at existing widgets code and how they are doing things and use code from them.  

RobertScheitlin__GISP
MVP Emeritus

Marga,

   Where you able to locate examples of using the jimu/dijit/ColorPicker?

0 Kudos