[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 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.

This topic contains 2 replies, has 2 voices.

Last updated by jamesH-10 10 months, 2 weeks ago.

Assigned support staff: 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+01:00)

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.