Tomtom with Angular

I am trying to integrate tomtom maps with angular (typescript). The map is showing, but I cannot add style or layer. It says “Style is not done loading”. Please help me with the styling.

You can check our documentation regarding map styling:

Please elaborate if you need something specific that you can’t find in the documentation.

You can also try to delay layer loading until the map is fully loaded by:

map.on('load', function() {your code}

I tried it with on load and on idle both. It’s still not working.

Can you send us the code which is facing a loading issue?
We need to see it to investigate.