Hi,From the code Robert shared some time ago (http://gis.calhouncounty.org/SFVDemo) I am using the NavMenu which provides a shortcut to the navigation buttons.I would like to add a new button which would mimic the IdentifyWidget. I added a new public static const to SiteContainer.mxml public static const WIDGET_SHOW_INFO:String ="widgetShowInfo";
which will then call the public static const SHOW_INFOWINDOW in AppEvent.asWhat I find tricky is how to make the infoData object.var infoData:Object =
* {
* icon: icon, //a Image object
* title: "a title string",
* content: "a string",
* link: "http://a.url.com",
* point: point, //a Point object
* geometry: geom //a Geometry object
* };
I looked at IdentifyWidget.mxml and thought I would try to replicate everything in there.Is there an easier way or should I just go on?Thanks,Manolo