L
L
leopardo112015-04-21 16:23:39
PHP
leopardo11, 2015-04-21 16:23:39

How can you track the movement (of a bicycle) by receiving data, show it on a map in real time?

Isn't it difficult to implement this, knowing php, jquery? The goal is to show the movement of the bike on the site, on the map, in real time.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Ilya Shatokhin, 2015-04-21
@leopardo11

Can.
From the side of the bike: the device should send the coordinates in the form of a binary UPD packet via the Internet to the server's open port after a period of time (usually once per second), and then parse the packet, check for errors (at least CRC) and register (remember at least the last one) .
From the browser side: open a webSocket or pull ajax (usually once per second) to the web part of the server and get the bike coordinates in real time. We draw coordinates on Gmaps/Ymaps/OSmaps. All.
Ivan Arxont correctly described the nuances of errors and loss of communication.

E
Euler2012, 2015-07-07
@Euler2012

Our service for displaying your bikes is already actively used. You don't have to do anything. Register a tracker in the service, create a link for observers and integrate this link into your site. ViaLatM service page

P
pavelvv, 2015-08-11
@pavelvv

To track bikes, there is a convenient service with a rating of GPS trackers and mobile applications!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question