V
V
Vitaly2020-11-16 14:01:44
JavaScript
Vitaly, 2020-11-16 14:01:44

How to display on the maps the path (on foot) from one central point to several other (in different) places at the same time?

There is a need to display on the map the path (on foot) from one central point to several other (in different) places at the same time. That is, for example, from the bus station, the path to the store, museum and business center, with information about the distance.
Maybe there is some ready-made paid service, or some for js?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
ksnk, 2020-11-16
@ksnk

https://habr.com/ru/post/197448/
isn't it? You can force googlemap to draw a route several times.
If you don't succeed / don't like it, draw all the routes manually (google.maps.Polyline) using the coordinates from the tools at the bottom of the article.
https://jsfiddle.net/rkme98af/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question