rinigus / pure-maps

Maps and navigation
https://rinigus.github.io/pure-maps/
GNU General Public License v3.0
244 stars 43 forks source link

Yandex support #343

Open vokaliz opened 4 years ago

vokaliz commented 4 years ago

Could you use Yandex Navigator target search algorithms? Some points current algorithms cannot find in Pure Maps, even in Moscow. If it possible add Yandex target search in to the Pure Maps, please?

rinigus commented 4 years ago

If they have API that is accessible via HTTP, its possible. I wouldn't have time for it for a while, so I suggest that you would look into provided API description by Yandex, their legal terms (if we are allowed to use it), and implement corresponding extension for Pure Maps. See https://github.com/rinigus/pure-maps/tree/master/geocoders and its README for instructions.

vokaliz commented 4 years ago

They support API free requests via HTTP, but not more then 25000 per day. About Yandex API (use translator, please): https://tech.yandex.ru/maps/geocoder/?from=commercial and this https://tech.yandex.ru/maps/geocoder/doc/desc/concepts/about-docpage/

rinigus commented 4 years ago

they have the same non-mingling clause as HERE: https://tech.yandex.ru/maps/jsapi/doc/2.1/terms/index-docpage/#index__conditions see number 3. Which means that one would have to implement full range of Yandex APIs (show their maps, use search, and routing). Its possible, just bigger work. Something like it is going to be done for HERE by one of the volunteers. If someone wishes to make it for Yandex, I''ll be happy to accept patches. On Pure Maps side, we have ability to make such separate profile that would legally allow you to use HERE and Yandex type of services

vokaliz commented 4 years ago

It would be good if Yandex could integrate into Pure Maps. Let's leave the question open, maybe someone join and help us?

rinigus commented 4 years ago

Sure. Its a valid issue and maybe someone can help with it. I will change a title to a more general one to highlight what's needed