Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.