How to get coordinates by clicking on map yandex?

The challenge, implement the possibility to add 2 markers A and B and get the distance between them.
Is it possible using the Yandex API to do this?
June 10th 19 at 15:10
1 answer
June 10th 19 at 15:12
The route consists of paths, and each path segment, the documentation describes the methods of obtaining collections of these entities.
There is described and tagging.

Find more questions by tags Yandex.MapsYandexWeb DevelopmentJavaScript