Home javascript ymaps is not defined

ymaps is not defined

Author

Date

Category

In the head above all is:

<script src="https://api-maps.yandex.ru/2.1?apikey=my_key" type="text/javascript"></script>

The following are standard actions from examples

<div id="map"> </div>

 enter image description here

I can’t figure out what’s wrong, I haven’t written my own code, I took everything from examples


Answer 1

<script src="https://api-maps.yandex.ru/2.1/?apikey=<yourAPI-key>&lang=ru_RU"></script>

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions