map.component.ts code:
......
infoWindow = new google.maps.InfoWindow(
{
content: `<custom-tag></custom-tag>` //***not displaying anything***
});
infoWindow.open(map, marker);
......
map.component.html code:
<custom-tag></custom-tag>
<div class="google-maps"></div>
custom-tag.component.html code:
<h2>hi</h2>
There are no errors in the module.ts, routing.ts files. The infoindust simply opens and does not display anything. Please help me figure out why the information does not show anything.
source
share