Answer the question
In order to leave comments, you need to log in
Working with Yandex Api Maps, when creating a map, it gives an error, what is the error?
hello, the console is throwing an error.
TypeError: s is nullin the Yandex file inception.js?1455725732539 I
ymaps.ready(function () {
myMap = new ymaps.Map("myMap",{
center: [25.32852, 50.74915],
zoom: 14,
type: "yandex#map",
behaviors: ['default', 'scrollZoom']
});
myMap.controls
.add("zoomControl")
.add("mapTools")
.add(new ymaps.control.TypeSelector(["yandex#map", "yandex#satellite", "yandex#hybrid", "yandex#publicMap"]));
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question