In Google Cloud → APIs & Services → Credentials, open your API key (not the OAuth client).
Under Application restrictions → HTTP referrers (not OAuth “JavaScript origins”), add:
Enable Maps JavaScript API. Wait 1–2 minutes, then reload.
Check the browser console (F12) for RefererNotAllowedMapError or InvalidKeyMapError.