Answer the question
In order to leave comments, you need to log in
How to add yandex maps in angular?
Greetings, I need to add Yandex maps to the angular application, how to do it in an adequate way?
Answer the question
In order to leave comments, you need to log in
Something like this for example
ngOnInit() {
ymaps.ready().then(() => {
this.map = new ymaps.Map('map', {
center: [50.450100, 30.523400],
zoom: 12
});
});
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question