Select to view content in your preferred language

capsule symbol

575
2
03-01-2024 05:40 AM
Labels (3)
pinisolomon1
Emerging Contributor

hi,

I'm using ArcGIS Pro to create a custom dictionary symbology for my app.

I'm trying to create a longer capsule, my findings were always scaling the capsule in height and width together. I want to keep the rounded edges but make it longer. 

An even better option would be that the length could be controlled from the custom dictionary so I can change the length during runtime (and primitive overrides)

0 Kudos
2 Replies
pinisolomon1
Emerging Contributor

the casule picture is the original capsule symbol from arcgis 2d

the second picture is what I'm trying to achieve ... currently I did it with 3 symbols 2 capsules and one rect. in the middle

0 Kudos
Amir-Sarrafzadeh-Arasi
Frequent Contributor

Dear Pinisolomon,

I hope you are doing well,

 

If you want the capsule being dynamic, you can make the size of the capsule dynamic, which will increase the size of the symbol, I mean it will enlarge the width and length together,

so a good approach can be, you can define for example 3 different symbols in your dictionary and then based on an attribute select one of them .

Please check the below links:
https://github.com/AmirSarrafzadeh/symbology_dictionary

https://github.com/Esri/dictionary-renderer-toolkit/blob/master/docs/working-with-overrides.md

https://github.com/annelfitz/annelfitz.github.io/tree/master/dictionaryRenderer/symbolService

Let me know if you need more info

Amir Sarrafzadeh Arasi
0 Kudos