laptop and a wrench

Bug

Layer ordering is not honored when separate composite graphics layers are added to a map control in ArcObjects SDK.

Last Published: August 19, 2020 ArcObjects SDK for the Microsoft .NET Framework
Bug ID Number BUG-000086437
SubmittedMarch 27, 2015
Last ModifiedNovember 24, 2020
Applies toArcObjects SDK for the Microsoft .NET Framework
Version found10.2.2
Operating SystemWindows
Operating System Version7 64 Bit
StatusWill Not Be Addressed

Additional Information

We apologize that we were unable to address this issue within the current product support cycle.  If the issue continues to affect your work in a supported release, please contact Technical Support.

Workaround

Cast IMap to IGraphicsContainer on line 194 in the code instead of casting ILayer. To do this, change the line of code: IGraphicsContainer container = (IGraphicsContainer)layer; to IGraphicsContainer container = (IGraphicsContainer)m_mapControl.Map;

Steps to Reproduce

Bug ID: BUG-000086437

Software:

  • ArcObjects SDK for the Microsoft .NET Framework

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic