Skip Navigation

[Resolved] toolset maps

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 2 replies, has 3 voices.

Last updated by Minesh 1 year, 8 months ago.

Assisted by: Minesh.

Author
Posts
#2568287

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

#2568353

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

#2568355

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/