Using GPS start current point as Route Task first stop

433
1
06-13-2012 04:15 PM
WinstonKahn
New Contributor
Anyone have a suggestion as to how I might be able to set the first stop of my route task as the current gps start point when the map view loads?
0 Kudos
1 Reply
NimeshJarecha
Esri Regular Contributor
You should create an AGSStopGraphic with geometry from self.mapView.gps.currentPoint. Please make sure that you have started the gps before taking the point to create a stop graphic.

Regards,
Nimesh
0 Kudos