Answer the question
In order to leave comments, you need to log in
How to get the route length in kilometers Yandex Maps?
Greetings, I'm trying to deal with yandex api, I need to get the distance in kilometers between two points on the map. I deduced the route between these points using a simple example from the documentation
var multiRoute = new ymaps.multiRouter.MultiRoute({
referencePoints: [
"Санкт-Петербург",
"Москва"
],
// Параметры маршрутизации.
params: {
results: 2
}
}, {
boundsAutoApply: true
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question