matt2521

MapWidget.Map retains reference to original map contents in Dashboard

Discussion created by matt2521 on Feb 26, 2013
Hi:

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

Outcomes