If you are using the old version of API for Yandex.Maps, then it should be replaced with the new versio so that the script is initialised correctly. This is because the new code refers to the internal API of the system, which, in its turn, refers directly to Yandex to display the image in a printed form.
The old variant looks like this:
<script src="https://api-maps.yandex.ru/2.0/?load=package.full&lang=ru-RU" type="text/javascript"></script>
.
The new variant looks like this:
<script src="{{ yandex_maps_api('2.0', { lang: 'ru-RU', load: 'package.full' }) }}" type="text/javascript"></script>
.