[Resolved] ToolSet Maps not working. Seeing a random map but no markers on it.
This thread is resolved. Here is a description of the problem and solution.
Problem:
The issue here is that the users map markers are not appearing on there map.
Solution:
If your map has been setup correctly then this is usually due to 2 main issues. Either the API is not able to validate using your URL if you are using a restricted API or You have not enabled all the required API.
For the URL restrictions you need to enter your url like this @https://*.myurl.com/*
For the enabled apis you must have the Geocoding, Places and Maps Javascript API enabled
This support ticket is created 6 years, 3 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.
Hello.
I have just installed ToolSet Maps. First time user.
I created a Google Maps API and it seems to be connecting.
Using the Beaver Builder plugin on the site, when I input a static address, I get a map and marker.
However, when I try to create a map and marker using the ToolSet short codes I just get some random map (mid-Atlantic ocean) and no marker.
Not sure if this is relevant, but some of the tutorials say I should be seeing a map on the DASHBOARD next to the Address custom field. I don't have that.
See this page. hidden link
The TOP map was created via the Beaver Builder plugin, inputting a static address.
The bottom map via ToolSet when trying to access the SAME address via a shortcode.
The shortcode I am using is :
[wpv-map-render map_id="map-5"][/wpv-map-render][wpv-map-marker map_id='map-5' marker_id='marker-5' marker_field='wpcf-event-address'][/wpv-map-marker]
As you can see, I am able to print the address in text form on this page.
You were right. The Google API wasn't working correctly.
For future reference, this post was helpful. hidden link
It could have been ONE or ALL of the following issues.
a) Billing NOT connected.
I had added a billing method to the Google Developers Account BUT didn't realize the Project needs to be connected to it individually.
b) Domain verification
I'm not sure if this step is necessary but under the Google Developers Account "Credentials" section there is a sub-heading for "Domain Verification" which I added (Maybe this also needs to be setup via Webmaster Search Console prior. Not sure.)
See screenshot.
Your colleague Christian suggests ALSO enabling the "Places, Geocoding, and Geolocation APIs".
I did this as well.
Are these OTHER API's essential? If so, your documentation should be updated.
THE REMAINING PROBLEM is that I wasn't able to set an "application restriction" on the API.
Well actually, it's trivial to do that within Google Developers Console but in ToolSet I get an error message.
HOW can I restrict the API to this domain so that it doesn't get abused?