S
S
Semyon Semyonov2017-04-02 19:03:55
Ruby on Rails
Semyon Semyonov, 2017-04-02 19:03:55

What is the general principle of building tracks on the map?

I need to show multiple tracks at the same time on the map in realtime. I started looking for examples of how someone did it and all that. Maybe there are gems, or something like that. I found ready-made developments, i.e. already someone's business or something like that, but articles, manuals, tutorials - somehow not really. Who will share - I will be straight happy.
What's the point... It's simple. There is a mobile application, they send their coordinates to api. I need to see the movements of up to 50 tracks at the same time on the map, in the rails application. The first thought, as always, is a head-on solution: we catch data with ajax or a socket, draw points on the map. But even before the implementation, it seems to me that 50 tracks is a dofiga and the priest can smell that the pitfalls are intended.
Tell me if someone did something like this, what are the pitfalls, what did you use, tell at least a little. I do not want to step on all the rakes, I would like to avoid some.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2017-04-03
@freeExec

Without unnecessary restrictions, Leaflet + OSM will do. There are a lot of plugins, maybe you can even find a ready-made one or rewrite the existing ones for yourself - leafletplayback.theoutpost.io

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question