AnsweredAssumed Answered

Add numbers dynamically to jimu/drawBox point markers?

Question asked by JWDavies on Dec 5, 2017
Latest reply on Dec 13, 2017 by JWDavies

I'm trying to assign a number to each point added with the drawBox. The closest example i could find is of the functionality found in the directions widget when you add new stops (ArcGIS API for JavaScript Sandbox ).


I am aware of the function drawBox.setpointSymbol(symbol), but I have not been able to find a way of using a pictureMarkerSymbol combined with text such as those used by ESRI. Furthermore i would need a counter to assign the numbers, and i'm not sure what my best option is to achieve it.


Does anyone have any idea how to do this?