I am trying to build a flex mobile application where after I select a desired feature to edit, it passes that data to a new view for editing.I am able to get the feature to select using the query method:
public function map_mapClickHandler(event:MapMouseEvent):void
{
queryMapClick.geometry = event.mapPoint;
dataMap.selectFeatures(queryMapClick);
myMap.infoWindow.hide();
}
with the Query defined as:
fx:Declarations>
<esri:Query id="queryMapClick"
outFields="[StopId]"
returnGeometry="false"/>
</fx:Declarations>
I understand how to use the navigator to push the view along with the data to the next view. My issues, is I am not sure how to tgrab that selected data and get it in a form to get over to the next view. Is this just a matter of creating a new var for the selected feature's attributes? If so how do I go about doing that? Thanks!