MapWidget.Map retains reference to original map contents in Dashboard

02-26-2013 05:47 AM
Occasional Contributor

I have a custom widget that makes use of the MapWidget.Map class. If I have an Operation View open and go to File>Open and open another Operation View, MapWidget.Map returns info about the original map and its contents. If I got to File>Close and close the Operation View first, then open another Operation View, MapWidget.Map appears to reference the contents of the new map correctly.

How do I make sure the Map class references the new map if a user simply goes to File>Open without closing the current Operation View?

Insight would be appreciated,
Matt English
Esri Canada
0 Kudos
0 Replies