How do I add new grouplayer to bottom of TOC?

387
1
Jump to solution
02-23-2017 11:52 AM
Highlighted
Regular Contributor

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)
Reply
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Esri 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

Reply
0 Kudos
1 Reply
Highlighted
Esri 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

Reply
0 Kudos