AnsweredAssumed Answered

Drawing symbols like legend without dijit legend

Question asked by arnaud_gu on Oct 27, 2017
Latest reply on Oct 27, 2017 by rscheitlin

Hi,

 

I want to make a personal legend in WebAppBuilder but i need to draw symbol.

 

It's easy when type is esriPMS but when it's esriSFS or esriSLS or esriSMS , I don't know how to make an image with esri symbol.

 

sample :

"symbol":{"type":"esriSFS","style":"esriSFSSolid","color":[76,230,0,255],"outline":{"type":"esriSLS","style":"esriSLSSolid","color":[255,0,0,255],"width":2}},"value":"0","label":"Zone humide élémentaire","description":""},{"symbol":{"type":"esriSFS","style":"esriSFSSolid","color":[211,255,190,255],"outline":{"type":"esriSLS","style":"esriSLSSolid","color":[255,190,190,255],"width":2}},"value":"1","label":"Zone humide élémentaire gelée","description":""}]

Is there someone to explain me ?

 

Thanks.

 

Guillaume ARNAUD

Outcomes