Select to view content in your preferred language

drawOrder relative

3218
6
Jump to solution
08-10-2015 01:15 AM
NorbertThoden
Frequent Contributor

Hi!

Is there a possibility to specifiy a drawOrder relative to an other graphics???

Thanks!

0 Kudos
1 Solution

Accepted Solutions
LucasDanzinger
Esri Frequent Contributor

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!

View solution in original post

6 Replies
NorbertThoden
Frequent Contributor

related to EsriRuntimeQt SDK (C++)

0 Kudos
LucasDanzinger
Esri Frequent Contributor

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

NorbertThoden
Frequent Contributor

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.

Thanks!

0 Kudos
NorbertThoden
Frequent Contributor

Opps, i recognized that the drawOrder can be negative!

(But that does not change my mind.)

0 Kudos
LucasDanzinger
Esri Frequent Contributor

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!

NorbertThoden
Frequent Contributor

Hi Lucas!

Done:

Title: Relative drawOrder of composite objects/graphics

Link:

https://c.na9.visual.force.com/apex/ideaView?id=087E0000000Czuy&returnUrl=%2Fapex%2FideaList%3Fc%3D0...