Hi!
Is there a possibility to specifiy a drawOrder relative to an other graphics???
Thanks!
Thanks Norbert. If you have some time, could you please post the idea on our Ideas Portal (ideas.arcgis.com) so that others can see and vote on the enhancement request?
Thank you!
Opps, i recognized that the drawOrder can be negative!
(But that does not change my mind.)
Hi Lucas!
I understand that you also didn´t find an call for doing as desired?
Regarding your idea:
Interesting - but:
If i have to put a graphic below an other graphic ( drawOrder() returns '0' ) it will fail, because the drawOrder can`t be less then 0....
I will solve this by defining an absolute drawOrder internally for the composition of graphics:
Primary graphic and two secondary graphics, one below and the other above the primary.
The drawback is
- that the internal drawOrder differs from the external....
- that this will fail, if int_max is exceeded - i hope that this will never happen...
Interpret my question as a suggestion for ongoing releases - if you want.
Hey Norbert-
Can you use drawOrder() to get the draw order of the graphic you want to be relative of, then either put your other graphic above or below that using updateGraphic()?
-Luke
related to EsriRuntimeQt SDK (C++)
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.