AnsweredAssumed Answered

SimpleMarkerSymbol and text symbol at same geometry.

Question asked by Adityakumar529 on Aug 15, 2018
Latest reply on Sep 10, 2018 by rscheitlin

Hi Developers,

  I want to have a Circle marker followed by a value geometry location. Right now I am using the below code. But its giving me either of the functionality. Not both at the same time.


var CircleSymbol = new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CICRLE, 10,
new SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID, new Color([255, 0, 0]), 2),
 new Color([0, 255, 0, 0.25]));
textSymbol = new TextSymbol(stop.attributes.OBJECTID);
textSymbol.setColor(new Color([255, 255, 255]));



While I am looking for a style like below.



In case you have any suggestion or solution please share.

Thanks in advance.