on 02-02-2016 12:08 PM
Hi,
I was using a Location Transaction property in one of my transaction to set a Specific Location Object property to Current Location.
But for some reason it is returning nothing.
Is there anything I need to do additionally to get this working?
Also I would like to rip the Latitude and Longitude value from this property by using a rule. Let me know if I need to do anything specific there as well.
For now I am using "Latitude" and "Longitude" rule functions (passing the above mention Location property).
Regards
Madan KM
I am assuming you are using Agentry?
What version of the client and what device are using?
In terms of extracting the lat/long using rules that is exactly how I do it.
--Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bill,
Yes I am using Agentry
Version of WPF Agentry Client-70.10.7
Device that I am using is- Xplore Bobcat (running Win 8.1)
For extracting Lat/Long:
Initially I had a location transaction property whose initial value is set to Current Location. And this transaction property is mapped to "Location" Object property.
So after applying the above transaction, I am expecting to have the Current location stored in the above mentioned Object property.
And to get the Lat and Long values. I had a initial value rule, Which uses the "Latitude" "Longitude" rule function for which we need to pass a "Location" Object property. In this spot I m passing the above mentioned "Location" Object property.
As the initial Location transaction property is not initialized with "Current Location" , I am unable to pull the lat/long values also.
WPF is tricky when working with GPS locations. I believe the current version is still expecting location data to be presented on a COM port. Depending on your device configuration you may need to make adjustments or add additional software depending on how the device is presenting the coordinates (COM port vs. location services).
There are plans to change the WPF client to utilize location services as well down the road. If that is a key feature for you I recommend contacting support to make the request.
If you are also using the ESRI component for displaying maps, that code uses it's own logic to get the current location (and is based on location services) so you may need to cater for both depending on your situation.
--Bill
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.