Skip Navigation

[Resolved] Not all of my map markers are displaying.

This thread is resolved. Here is a description of the problem and solution.

Problem:
A map is missing markers and is centred in the Atlantic off the coast of Africa.

Solution:
That points to problems with the API key, and for Google it may be necessary to add a second key, as described in the documentation.

Relevant Documentation:
https://toolset.com/documentation/user-guides/display-on-google-maps/creating-a-google-maps-api-key/

This support ticket is created 5 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

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.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 2 replies, has 2 voices.

Last updated by jamesH-10 5 years, 7 months ago.

Assisted by: Nigel.

Author
Posts
#1244470

I am trying to: I have a custom post type, with custom fields with a location. One displays okay the other fails.

Link to a page where the issue can be seen:

hidden link

I expected to see:

A marker in the suburb of Bayswater, Western Australia

Instead, I got:

Equatorial Guinea

#1244536

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Screenshot 2019-05-16 at 11.00.18.png

The map centred on lat and long of zero normally points to a Maps API problem, and checking the settings page of your site there is an issue with your API key (screenshot).

Can you please review the instructions for creating your API key, and pay special attention to the last section about problems with the Google API that can necessitate adding a second unrestricted key: https://toolset.com/documentation/user-guides/display-on-google-maps/creating-a-google-maps-api-key/

#1244886

Thanks Nigel, makes sense because the staging site is a subdomain of the host.

Cheers mate.