Windows Phone 8.1 - Geoposition.Coordinate.Speed.Value vs Geoposition.Coordinate.Speed

180 Views Asked by At

What is the difference between

Geoposition.Coordinate.Speed.Value

and

Geoposition.Coordinate.Speed

?

Both seem to give me current speed but I'm wondering which one I should use. Thanks.

1

There are 1 best solutions below

0
On

Geoposition.Coordinate.Speed is of the type having HasValue and Value properties Whereas Geoposition.Coordinate.Speed.Value has just a double value type so you would need to store it accordingly and retrieve the values using properties needed.