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
Bug ID Number BUG-000086437
SubmittedMarch 27, 2015
Last ModifiedJune 5, 2024
Applies toArcObjects SDK
Version found10.2.2
Operating SystemWindows OS
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

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options