YandexMapKitRoute icon indicating copy to clipboard operation
YandexMapKitRoute copied to clipboard

YANDEX_DELETED_MAPKIT_V1_URL

Open jitenparmar341 opened this issue 10 years ago • 6 comments

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.

jitenparmar341 avatar Jun 29 '14 13:06 jitenparmar341

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

antigp avatar Jun 29 '14 21:06 antigp

Duplicate of https://github.com/antigp/YandexMapKitRoute/issues/3

antigp avatar Jun 29 '14 21:06 antigp

API 2.0 support url 6941a3f2dfbfb79ef57e0017c98421ad9c9e1a66

antigp avatar Aug 01 '14 08:08 antigp

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

OlegDeg avatar Nov 04 '14 17:11 OlegDeg

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.

antigp avatar Nov 24 '14 09:11 antigp

Покопался, на данный момент ситуация такая:

  1. Нужно получить токен: https://api-maps.yandex.ru/2.1.48/?lang=ru_UA

    • Будет выглядеть примерно так: "token":"6871a54c1dec6e4591c5bf388bb3f517"
  2. Получить координаты маршрута можно по 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 год, а прокладки маршрута так и нет ...

rlxone avatar Mar 26 '17 18:03 rlxone