We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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>
<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; }
ya-map{ width: 300px; height: 300px; }
Карта не рисуется, выдается ошибка Uncaught TypeError: e.get(...).split is not a function много раз...
Uncaught TypeError: e.get(...).split is not a function
Не могу понять в чем причина...
The text was updated successfully, but these errors were encountered:
Методом научного тыка установил, что если отключить дополнение хрома для отладки ангулара, ошибка исчезает
Sorry, something went wrong.
@slayerokk А если не отключать выход есть?
@cinic отпала надобность в ангуларе до того, как нашел выход =) надеюсь, найдете решение
No branches or pull requests
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
много раз...Не могу понять в чем причина...
The text was updated successfully, but these errors were encountered: