Answer the question
In order to leave comments, you need to log in
Yandex maps in AngularJS. Why is the map not being added?
I want to add a Yandex map to an angular project. do as described here https://github.com/tulov/angular-yandex-map
Template
<ya-map id="map" ya-zoom="8" ya-center="[37.64,55.76]" ya-after-init="afterMapInit($target)"></ya-map>
var _map;
$scope.afterMapInit = function(map){
_map = map;
};
angular.module('Shop',
[
'ngRoute',
'shopsCatalog',
'shopFullInfo',
'yaMap'
]);
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