Add your MapKit JS token

This is the apple-hig scaffold output — a HIG-correct Apple Maps view. It renders real Apple Maps once you supply a domain-bound MapKit JS token (no token is committed to the repo).

  1. In your Apple Developer account, create a Maps Token (MapKit JS 6) restricted to your domain.
  2. Run this with the token: append ?token=YOUR_TOKEN to the URL, or set window.MAPKIT_TOKEN before this script (inject it from MAPKIT_TOKEN at build/deploy — never hardcode it).

developer.apple.com/maps/web