As we continue to build out a Flex Mobile offline app. One user request we have received is adding the ability to generate features based on GPS position. So build a line feature as you move. We have started with point data. So select a button and a point feature is added to the map at current location. Our approach has been to dispatch the following on button click: