Answer the question
In order to leave comments, you need to log in
Is it possible to dynamically insert an Angular component into I.Maps?
I needed to integrate Yandex.maps into the Angular project. Yandex maps has such functionality as showing a balloon. The content of the balloon is set via
const obj = this.objectManager.objects.getById(objectId);
obj.properties.balloonContent = '<b>Some body</b>'
this.objectManager.objects.balloon.open(objectId);
obj.properties.balloonContent = '<app-test-component></app-test-component>';
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