Hello!
In my SFV 1.3 site I added the functionality to right click the map and copy coordinates to clipboard, based on code I found in the old forum, I think it was code from Robert Scheitlin.
I want the same thing in my new FlexViewer 2.1 site, I've come so far that I've added a custom item to the context menu that copies a hard-coded string to the clipboard.
I need some help figuring out how to get the coordinates, from the mapmanager.mxml.
In the SFV 1.3 the coordinates came from the banner (roberts modified banner that shows the coordinates) and the code looked like this:
var myString:String = SiteContainer.getInstance().controller.banner.mapXY;
I'm using the Coordinatewidget and I guess the best way is to get the coordinates from the 'coords' label in CoordinateWidget. But I don't know how to access that wigdet and label from the mapmanager.