Improving MapKit JS Load Times – Is Bundling Allowed?

Hey everyone,

I’m using MapKit JS in a web app and wanted to ask if anyone has experience optimizing its loading performance.

Initially, I was using the core version of MapKit JS, but some users reported issues—certain modules weren’t immediately available, and they had to wait quite a while before the map became usable.

Switching to the full version helped somewhat, but I’m still seeing delays. In some cases, MapKit JS isn’t fully ready even after 10 seconds.

To reduce these delays, I’m considering bundling MapKit JS directly into my site’s JavaScript bundle (rather than loading it externally). My hope is that this could improve load times and reduce dependency on external script loading.

Before I try this, I want to make sure this doesn’t go against Apple’s usage policies for MapKit JS. Has anyone tried this approach? Is bundling MapKit JS allowed? Or are there better ways to improve the loading experience?

Thanks in advance!

Improving MapKit JS Load Times – Is Bundling Allowed?
 
 
Q