T
T
tvorcoff2017-01-06 23:48:43
Yandex maps
tvorcoff, 2017-01-06 23:48:43

How to compare Leaflet.js coordinates with Yandex coordinates?

Runtastic is an application for fixing the routes you have traveled. This route (lines on the leaflet map) needs to be transferred to Yandex maps. I opened the page code - and the usual coordinates are not close there. There is no way to change Yandex.maps to leaflet. What to do? Is there a way to quickly convert lines from one card to another?
Code example:

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
freeExec, 2017-01-09
@freeExec

It’s not clear what coordinates are familiar to you and what did you see there?
It is also not entirely clear with the transformation of the line, well, in Yandex, the method for creating the line is called differently, the parameters are the same there - the coordinates of the points.

T
tvorcoff, 2017-01-09
@tvorcoff

Thank you for your response!
The usual coordinates (Yandex) are longitude and latitude with preferably 18 characters after the point
. Example: 55.765382, 37.629405
and there is nothing like this in the Runtastic code (maps on Leaflet.js), the line code looks like this:

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question