How do I add new grouplayer to bottom of TOC?

764
1
Jump to solution
02-23-2017 11:52 AM
KirkKuykendall
Occasional Contributor III

When I have 2 or more layers in the map, the grouplayer is always added at the top.

Am I doing something wrong?

LayerFactory.CreateGroupLayer(MapView.Active.Map, 2)

Also happens when adding a grouplayer as a last child of a parent grouplayer.

This works with other layer types, but not with grouplayers.

Running Arc Pro 1.4.1

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
CharlesMacleod
Esri Regular Contributor

Kirk, this is a bug. Your code looks fine. We'll address it for the next release. Thanks for pointing it out.

View solution in original post

0 Kudos
1 Reply
CharlesMacleod
Esri Regular Contributor

Kirk, this is a bug. Your code looks fine. We'll address it for the next release. Thanks for pointing it out.

0 Kudos