MapKit JS in Angular 9

Hi everyone,


I've been trying to implement MapKit JS in an Angular 9 project but so far I have not been able to succeed so I hope someone here has some experience with that. What I've tried:

  • Following this demo I was able to create a page as a html file from a NodeJS backend but I can't add that to an Angular project.
  • Adding the code to an Angular html file doesn't work as Angular strips out the script tags.
  • Also tried this npm package but I couldn't get it to work unfortunately


Does anyone have an idea how to get this done? Or is it just way too difficult at this point?
Must say I do not have much experience with plain JavaScript. For Google Maps there is an Angular package which works quite well but I'd prefer to use Apple's MapKit so I really hope someone can help me with this.

Many thanks in advance!


Kind regards, Tim

MapKit JS in Angular 9
 
 
Q