1

Using the ArcGIS Server JavaScript API version 4, is it possible to symbolize points using a numbering system (1-n) as in this mockup?

enter image description here

A simple marker symbol or picture marker symbol can be used to generate the circles, but how can the numbered labels be generated within the circles?

2 Answers 2

0

I managed to solve this using a combination of labelClass to generate the labels on-the-fly, and a SimpleRenderer to create the circles.

0

One solution is to use CIMSymbol - and the documentation has a sample for exactly that scenario.

https://developers.arcgis.com/javascript/latest/sample-code/cim-symbols/index.html

CIM symbols were introduced at version 4.12 and are used to display multi-layer vector symbols which can include data driven text.

1
  • thank you! This looks really promising Commented Dec 13, 2019 at 9:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.