0

Related to this question : Adding new map to current project using ArcGIS Pro .NET SDK? , however this question is quite old and not exactly what I am looking for.

I want to create an add-in that loads in specific data, but when loading the data (basically on the onclick() method) I would like to have two maps open in split level view, as with the image below.

This image shows what I would like

Any idea how to make this possible?

1 Answer 1

0

I had the same problem and I did that:

var firstMapPane = DockManager.DocumentWindows.FirstOrDefault(x => x.Title.Contains(firstMapName));
var secondMapPane = DockManager.DocumentWindows.FirstOrDefault(x => x.Title.Contains(secondMapName));

secondMapPane.Dock(firstMapPane, ActiproSoftware.Windows.Controls.Side.Bottom);
1
  • Where's the DockManager from?
    – B.Quaink
    Jun 16, 2022 at 14:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.