YandexMapKitRoute
YandexMapKitRoute copied to clipboard
YANDEX_DELETED_MAPKIT_V1_URL
I am integrating the yandex map for route drawing but i am not able to find that YANDEX_DELETED_MAPKIT_V1_URL so any way to find this or any other alternative, and the showrouteonmap does nothing in the coding.
Thanx in advance.
6 months ago Yandex staff asked me to remove this link, maybe they wanted to make this functionality in MapKit version. But current state they have not released anything
For this reason, I can't say the link. = ( But thanks to the functional github, that doesn't depend from me, you can see it in the previous commits. Like commit a2260adfe5e81342365d56d2b46611a0008cffa4
Duplicate of https://github.com/antigp/YandexMapKitRoute/issues/3
API 2.0 support url 6941a3f2dfbfb79ef57e0017c98421ad9c9e1a66
Hello! I just tried to use url scheme from 6941a3f and it doesn't work for me. Seems like this url scheme is not working any more. Could you please check and confirm it?
P.S. Link to get route: http://maps.yandex.ru/services/router/search/2.x/search.json?lang=ru-RU&origin=maps-router-label&simplify=1&rll=55.837064,37.487895~55.695618,37.657496&rtm=atm&search_type=geo
Hello, yes. it return 404 page.
Now current url is: https://api-maps.yandex.ru/services/route/2.0/?rtm=atm&source=route&rtext=55.685922%2C37.680156~55.864725%2C37.599132&coordorder=latlong&lang=ru_RU&origin=maps-router-label&rgeocode=1&search_type=geo&token=ab2aa3eb0a51e127eab21d02b0ac2f72 You can try this url, may be schema not changed and it will work. If not i'm update library on weekend. But it request token, i will read about this on weekend, may be now it can be officialy used.
Покопался, на данный момент ситуация такая:
-
Нужно получить токен: https://api-maps.yandex.ru/2.1.48/?lang=ru_UA
- Будет выглядеть примерно так:
"token":"6871a54c1dec6e4591c5bf388bb3f517"
- Будет выглядеть примерно так:
-
Получить координаты маршрута можно по https://api-maps.yandex.ru/services/route/2.0/?callback=id_149029057251431476501&lang=ru_UA&token=6871a54c1dec6e4591c5bf388bb3f517&rll=27.553419592529295%2C53.90479125755685~27.681135656982416%2C53.85935394212101&rtm=dtr&results=3&sign=2814059272
- Использовать ранее полученный токен
Уже 2017 год, а прокладки маршрута так и нет ...