I need to achieve something like in this question Angular 2 Dynamically insert a component into a specific DOM node without using ViewContainerRef
I got a task to use the plain google maps api within an angular/ionic project. I want to add a button as a custom control to the map, and I want to use ionic-button for this and not create the button completely in plain javascript/typescript.
But as ComponentFactoryResolver got deprecated in Angular 13, what would be the best way to do it.