I'm using Mystyle theme for Wordpress and I have a problem displaying the google map using the Contact form that is included in the theme options. I can add longitute and latitude in the option but everytime I do it I get an "ooops something went wrong" error on the page. The map just doesn't load.
Is there a fix or should I use an alternative plugin for my wordpress contact page?
I am looking for the line in the Mystyle theme files and can't seem to find it.
Google has changed the API key for the google map. You must create a API key to make it working.
Please create a Google Maps Javascript API from below link. https://console.developers.google.com/apis/
Thanks
You may want to try going through the following series of WordPress tutorials and a GitHub post for a more complete explanation:
As discussed, you need the following:
google.maps.event.addDomListener
as shown in the sample code within the tutorial.