I'm using Angular 7.2.2 with Typescript.
I'm importing Google Maps from "https://maps.googleapis.com/maps/api/js?key=myAPIkey" via <script>
-tag in my index.html
As soon as the script has finished loading, I can see some of my styles being overwritten application wide by Google Map's styles.
How can I prevent this and ensure that Google Map's styles are only applied to the component in which I will render the map?
I have tried to load the script dynamically from within the displaying component, but obviously the style encapsulation works only for styles provided by the "styleUrls" parameter.
Thank you!