Tell us what you are trying to do? I got a message from google that the API key for google maps is visible. in de sourcecode. How can i remove this.
Is there any documentation that you are following?
Is there a similar example that we can see?
What is the link to your site?
hidden link

Nigel
Supporter
Languages:
English (English )
Spanish (Español )
Timezone:
Europe/London (GMT+00:00)
Hi there
That's a slightly odd message from Google they have recently started sending, because the API key for browser-based requests is always public.
You should make sure that the Google API credentials corresponding to your key have domain restrictions applied: https://toolset.com/course-lesson/creating-a-maps-api-key/#creating-an-api-key-for-google-maps

Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
Hello. Thank you for contacting the Toolset support.
This is a known issue to us and here is the official errata page with more details on this issue:
- https://toolset.com/errata/js-error-from-google-api-when-displaying-a-map-on-the-front-end/