Select to view content in your preferred language

Mobile ArcGIS Online GPS Generated Features

626
0
12-29-2012 11:31 AM
MattSheehan
Deactivated User
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:

myEditor.drawTool.dispatchEvent(new DrawEvent(DrawEvent.DRAW_END, gpsPt));

where gpsPt is a graphic built using the selected symbol (see video below) and GPS location. Here is a demo of the workflow:

http://www.youtube.com/watch?v=MgjHu2sLfMg&feature=youtu.be

We are finding an error generated with event dispatch.

tyleableStageText/updateViewPort()

Any feedback/thoughts on the approach or error would be very helpful

Thanks

--Rory
Tags (2)
0 Kudos
0 Replies