tulov / angular-yandex-map

AngularJS directive to work with Yandex maps
173 stars 58 forks source link

Ошибка Uncaught TypeError: e.get(...).split is not a function #50

Open SergeBlackDog opened 8 years ago

SergeBlackDog commented 8 years ago

Angular 1.3 Вставил вот такой код:

HTML: `

`

JS: `$scope.marker = { geometry: { type: 'Point', coordinates: [долгота, широта] }, properties: { iconContent: "Название", balloonContentHeader: "Название", balloonContentBody: "описание", balloonContentFooter: "подвал", hintContent: "Название" } }

var _map; $scope.afterMapInit = function(map){ _map = map; };`

CSS ya-map{ width: 300px; height: 300px; }

Карта не рисуется, выдается ошибка Uncaught TypeError: e.get(...).split is not a function много раз...

Не могу понять в чем причина...

slayerokk commented 8 years ago

Методом научного тыка установил, что если отключить дополнение хрома для отладки ангулара, ошибка исчезает

cinic commented 7 years ago

@slayerokk А если не отключать выход есть?

slayerokk commented 7 years ago

@cinic отпала надобность в ангуларе до того, как нашел выход =) надеюсь, найдете решение