I cannot get map markers to display on the front end. I have read several threads and it is usually the API key that is the problem but I know my API key is fine as it works in the admin screens and also works fine with another plugin I am using on a different site.
If you look at the screenshots attached you will see it working fine in the admin screen for creating my CPT (Event). You can also see I have entered the API key on settings screen but no locations are being cached.
On the front end the map is showing in the ocean, the zoom in button does nothing and the marker does not display.
The marker field is set to the location of the event. I have outputted it below the map to prove it has data.
I've seen few threads with this same problem but they either have no response or they say it started working for no reason.
There are no errors in the javascript console but each time I refresh the page I can see in the Google developers console that the Geocoding API records an error each time the map is loaded on the front end so I think there must be a problem with the request.
The weird thing is that this does not output the long/lat. It outputs the written address and no coords. I have exhausted everything I can think of short of debugging code line by line.
I worked it out. I generated a browser key in google as this is typically what I use with javascript API, however geocoding API requires a server key. I this is why the backend address finder works but the front end markers do not.
There is several tickets started by other people with the same issue. I think you should relate this to them as I am fairly certain changing it to a server key will fix their problems.
This ticket is now closed. If you're a Toolset client and need related help, please open a new support ticket.