How to Display an OverviewMap

04-24-2018 08:33 AM
New Contributor II

In the Samples of Version 10.2.7 it was possible to display an overview map. (arcgis-runtime-samples-dotnet-master\src\Desktop\ArcGISRuntimeSamplesDesktop\Samples\Mapping\OverviewMap.xaml)

How can I accomplish this with the 100.2.1 Version?

The system tells me "the object already owned" when I try to use the map again.

Tags (1)
0 Kudos
2 Replies
Esri Contributor

I'm sorry to hear you're running into problems. 

There is a sample for 100.2.1 that has something similar to an overview map: arcgis-runtime-samples-dotnet/src/WPF/ArcGISRuntime.WPF.Viewer/Samples/GraphicsOverlay/Animate3DGrap... 

You will need to use a separate map; this isn't called out specifically in the sample above because it uses a scene.

Let me know if you run into any other issues. 

0 Kudos
New Contributor II

The solution is to use a cloned layer:

var clonedLayer = layer.Clone();

mapView.Map = new Map {Basemap = new Basemap(clonedLayer)};

0 Kudos