Select to view content in your preferred language

Several maps in one application

612
1
03-08-2012 09:51 PM
Labels (1)
JohanWikström
New Contributor
We have used the ArcGis API for WPF for a while now and it works really well for us.

But now we ran into a problem and I hope you can point us in the right direction. In one application we have a map with many layers and a large set of Graphics. Now we now need to display several maps in a TabControl so that different areas can be viewed, all containing the same data. Since a Graphic cannot be part of more than one layer how can we achieve this?

I have seen that you added support for MVVM. Can several maps/layers bind to the same object/Graphic?
0 Kudos
1 Reply
DominiqueBroux
Esri Frequent Contributor
Can several maps/layers bind to the same object/Graphic?


No. Layers can't be shared between maps and graphics can't be shared between layers.

So you have to create new layers and new graphics inside these layers.
0 Kudos