On this page
What this issue is
When you embed an interactive Google Map using the Maps JavaScript API, the page must send an API key (a code that identifies your Google Cloud project). If Google cannot accept that key, it still draws the map but darkens it and stamps For development purposes only across it. Sometimes you see a grey box saying 'This page can't load Google Maps correctly' instead.
| Cause | Typical sign | Where to look |
|---|---|---|
| Billing not enabled | Watermark, darkened map, BillingNotEnabledMapError in the console | Google Cloud Console > Billing |
| No API key or wrong key | MissingKeyMapError or InvalidKeyMapError | Your page source or plugin settings |
| Key restricted to other domains | RefererNotAllowedMapError | Credentials > key > Website restrictions |
| Maps JavaScript API not enabled | ApiNotActivatedMapError | APIs & Services > Library |
| Free trial or billing account closed | Map worked, then the watermark appeared | Billing > Account management |
Why it costs you leads or sales
Visitors use the map to find your shop, office or service area. A darkened, watermarked map looks unfinished and can make people doubt the business is real or trustworthy. It can also hide street names, so they cannot work out where you are.
It matters most on contact, store locator and booking pages, where the map sits next to a form or a call button. The impact is usually medium: the page still works, but trust drops.
- Search resultVisitor finds your contact page
- Contact page loadsText and form load fine
- Map shows watermarkDark map, 'For development purposes only'
- Visit or enquiryVisitor hesitates or leaves
The map step is where trust breaks.
How to check if your site has it
Look at the map
Open the page in a private window. A darkened map with a repeated watermark, or a grey error box, confirms the issue.
Open the browser console
Press F12 (or Cmd+Option+J on Mac), open the Console tab and reload. Look for Google Maps JavaScript API errors such as BillingNotEnabledMapError, InvalidKeyMapError or RefererNotAllowedMapError. The error name tells you the cause.
Find the key in use
View the page source and search for maps.googleapis.com. The key is the value after key= in the script URL.
Check the key in Google Cloud
In Google Cloud Console, open APIs & Services > Credentials and find that key. Check billing under Billing, and the enabled APIs under APIs & Services > Enabled APIs.
How to fix it
Enable billing
In Google Cloud Console, open Billing and link a billing account to the project that owns the key. Google Maps Platform requires one, even though a monthly credit may cover small usage. Check current pricing on Google's site.
Enable the right API
Under APIs & Services > Library, enable Maps JavaScript API. Also enable Places API or Geocoding API if your map uses address search.
Set key restrictions correctly
Under Credentials, open the key. For Application restrictions choose Websites and add your domains, for example https://www.example.com/* and https://example.com/*. Under API restrictions, include the APIs your map uses.
Put the key on the page
Make sure the script URL includes your key, then reload and clear any cache.
<script async src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&callback=initMap"></script>Find the plugin or theme setting
Check your map plugin's settings (often a Google Maps API key field), or your theme options or page builder settings such as the Elementor integration settings.
Paste the key and save
Use a key from the project with billing enabled, then clear your caching plugin.
Check theme settings
In Online Store > Themes > Customize, look for a map section or theme settings with an API key field. Otherwise search theme code for maps.googleapis.com.
Update the key
Paste the working key and save. If the app that adds the map has its own setting, update it there.
Open Project settings
Go to Project settings > Integrations and find the Google Maps API key field.
Add the key and publish
Paste the key, save and publish the site.
Use the built-in map
The Wix Google Maps element is managed by Wix. If you added a custom embed with your own key, fix the key in Google Cloud or replace it with the native element.
Check the map block
In Settings > Advanced > External API Keys, check the Google Maps key. Remove an old key or replace it with a working one, then save.
Search your code
Search the project for maps.googleapis.com and replace the key value. Keep keys in config rather than hard-coding where you can.
Deploy and clear caches
Deploy, then purge any CDN or page cache.
Before
- Map is dark with a repeated watermark
- Console shows a Maps error
- Billing or key restrictions are wrong
After
- Map is clear and interactive
- No Maps errors in the console
- Billing linked and domain allowed
How to confirm it's fixed
- Hard reload the page in a private window
- The map is bright, with no watermark or grey error box
- The console shows no Google Maps errors
- Zoom, drag and pins work
- Check on your www and non-www domains and on mobile
- Check any staging site separately, as its domain also needs allowing
How to prevent it happening again
- Keep a billing account with a valid payment method linked to the Maps project
- Add a budget alert in Google Cloud so you hear about billing problems early
- Use one key per site and restrict it to your domains and needed APIs
- Add new domains to the key before launching them
- Record who owns the Google Cloud project, so it is not lost when staff or agencies change
- Re-test map pages after theme, plugin or domain changes
How FunnelGuard handles this
FunnelGuard detects this only partly. Its page checks can look for text that should not appear on a page (a text_absent check), but this only works if you configure it: you add the watermark phrase 'For development purposes only' as text that must be absent on your map page. The robot visitor then loads the page on a schedule and alerts you if that text appears.
Questions people ask
Why does my Google Map say 'For development purposes only'?
Google could not validate your API key for the Maps JavaScript API. The usual causes are billing not enabled on the Google Cloud project, a missing or wrong key, or restrictions that block your domain. The browser console error name tells you which one.
How do I remove the 'For development purposes only' watermark?
Link a billing account to the Google Cloud project that owns the key, enable Maps JavaScript API and allow your domain in the key's website restrictions. Reload the page and the watermark should go. Alternatively, use a plain Share > Embed a map iframe, which needs no key.
Do I have to pay to use Google Maps on my website?
The Maps JavaScript API requires a billing account to be linked, though Google offers usage allowances that can cover light use. Check Google's current pricing before relying on it. A standard iframe embed from Google Maps does not need an API key.
Why did my Google Map stop working and turn dark?
Something changed on the Google Cloud side: billing may have lapsed, the key may have been deleted or restricted, or you moved to a new domain not on the allow list. Check the console error and the Billing page first.
What does 'This page can't load Google Maps correctly' mean?
It is the grey error box Google shows when the API key fails. It has the same causes as the watermark: missing billing, invalid key, disabled API or a domain restriction. Open the console to see the exact error code.
Does the free Google Maps iframe embed show the watermark?
No. The iframe from Share > Embed a map on google.com/maps does not use the JavaScript API key flow, so it does not show this watermark. It is simpler if you only need to show a location.
Can FunnelGuard tell me when my map shows the watermark?
Partly. If you configure a text_absent check for 'For development purposes only' on the page, FunnelGuard alerts you when it appears. It does not check your Google Cloud billing or key settings.
Related issues
- PRF-099Third-party script fails to load (chat, form, payment widget)Fix guide
- PRF-111Third-party script throws console errorsFix guide
- PRF-107Social feed embed shows error/empty boxFix guide
- PRF-100Third-party script slow and blocks renderingFix guide
- PRF-115Abandoned plugin script from a dead CDN hostFix guide
- PRF-101Chat widget loads 1 MB+ on every pageFix guide