Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SergeBlackDog opened this issue Apr 19, 2016 · 3 comments
Open

Comments

@SergeBlackDog
Copy link

SergeBlackDog commented Apr 19, 2016

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

HTML:
<ya-map ya-zoom="10" ya-center="center" ya-after-init="afterMapInit($target)"> <ya-geo-object ya-source="marker"></ya-geo-object> </ya-map>

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
Copy link

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

@cinic
Copy link

cinic commented Nov 7, 2016

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

@slayerokk
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants