Select to view content in your preferred language

Scripting - Is GPS being Used.

2066
4
03-19-2013 12:46 PM
TimothyPower
Emerging Contributor
Just because Application.GPS.IsOpen returns true, doesn't mean GPS is being used to plot points, It just means GPS is On. I need to know when the user clicks ok if the feature being added was created using GPS or Digitize. Can anyone tell me the property I need to access to determine this.
Tags (3)
0 Kudos
4 Replies
GarethWalters
Deactivated User
Hi Timothy,

The quickest solution I can think of would be to set Averaging on and then check the GPS.OnAverageStart property. You can still have averaging as a single location.

I hope this helps.

Cheers,

Gareth
0 Kudos
TimothyPower
Emerging Contributor
If I try this than I guess I can assume if they are Not using GPS to plot their points, OnAverageStart would have a value of zero?, Or Null?, or Nothing?
0 Kudos
TimothyPower
Emerging Contributor
If I try this than I guess I can assume if they are NOT using GPS to plot their points, OnAverageStart would have a value of zero?, Or Null?, or Nothing?
0 Kudos
TimothyPower
Emerging Contributor
Hi Timothy,

The quickest solution I can think of would be to set Averaging on and then check the GPS.OnAverageStart property. You can still have averaging as a single location.

I hope this helps.

Cheers,

Gareth


If I try this than I guess I can assume if they are Not using GPS to plot their points, OnAverageStart would have a value of zero?, Or Null?, or Nothing?
0 Kudos