I am using esri map to plot pin/marker on map.
For pin/marker I am getting icon url and its color run-time from server, in order to display that icon on map I need to make modification of icon using html and css.
Problem is I can't use that html div and css with with esri.symbol.SimpleLineSymbol()
<div class="objectIcon" style="background-color:#F88962;">
<img src="https://ap2.salesforce.com/img/icon/t4v35/standard/lead_120.png">
<span class="selectedIcon">✔</span>
<span class="cstmTooltip ng-binding">Lead</span>
<div class="pointer" style="border-bottom: 7px solid #F88962;"></div>
Currently I can show marker with the help of esri.symbol.SimpleLineSymbol() by providing svg path, but this I can't use because its static svg path, as I mentioned I am getting icon and color from my server, so run time I have to apply some css on icon then I have to integrate with esri map.