W
W
Wet_Dumplings2019-12-17 19:56:56
JavaScript
Wet_Dumplings, 2019-12-17 19:56:56

How to run JS code from yandex site (i. maps)?

Hey!
I want to build a route from Moscow to St. Petersburg (streets are not important, just m / y with 2 points tobish), clicked "export" downloaded the archiver html page + JS script, I run the html form there as on the site, nothing happens when filling it out and writes that "it is impossible build a route. Okay, I made my html file and copied it from LINK into _script_ and pasted it, nothing is displayed at startup.
What needs to be done to make it turn on like on the site? (or even started, I just need to turn it on and build a route)
ps. links stubbornly does not want to print, so https://tech .yandex.ru/maps/jsbox/2.1/route_panel_control

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Kuzyakin, 2019-12-17
@Wet_Dumplings

add your api key to html file and it will work

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question