V
V
Vladislav Sofienko2017-01-22 22:27:43
JSON
Vladislav Sofienko, 2017-01-22 22:27:43

Is it possible to find out the coordinates of the device and display them in the application in C #?

The task is given where it is required to display the location of a car with a GPS navigator on a map in a C# application. I still need to at least just get its coordinates. How can this be implemented?
You can answer without demonstrating the code, but expanded. If you provide, it will be lovely))

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Kuznetsov, 2017-01-23
@DarkRaven

First, you need to install a GPS device on the machine that will send data to your service (some kind of abstract service in a vacuum). There are a number of such devices, you can google.
Then you need a substrate for the map, for example, the same OSM.
And finally, the application itself, which pulls data from your service, for example, every 5 seconds (well, or through SignalR in real time). You get the coordinates and draw them on the map control. The dumbest and easiest way is to use a web browser control and call a javascript function from there that will draw your coordinates.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question