Best Premium and Free WordPress Themes › Forums › Education Base Pro › Map section on main page
- This topic has 4 replies, 2 voices, and was last updated 4 years ago by
acmesupports.
-
AuthorPosts
-
March 16, 2019 at 3:26 pm #48334
Brian Prince
ParticipantHello,
Have added the AT MAP section on the main page, put in the LAT and LONG… everything but a MAP ICON m(cause I don’t know what this merans… MAP image, Some type of ICON – SIZE???
Anyways the MAP on the page generates an error “THE PAGE CAN NOT LOAD GOOGLE MAPS CORRECTLY Do you own this website? OK” I click OK, map is in the right place, but says for DEVELOPMENT PURPOSES ONLY all over the image.
Link: https://diamond4esl.com/wp/
Sugesstions? THx. Brian
-
This topic was modified 4 years ago by
Brian Prince.
March 17, 2019 at 5:54 am #48367acmesupports
ModeratorDear Brian,
Google has recently changed its Map API and now required different API and credit card info.For the quick fix, Please create google map API from here, and replace the ID, on assets/js/education-base-pro-custom.js.
We will update the dynamic entry of API Key on the next update.If there is any problem adding key on file then please let us know.
Best Regards!
March 17, 2019 at 3:49 pm #48403Brian Prince
ParticipantMaybe not right… Not working… GOT A KEY FROM GOOGLE (using 1yr free trial)
function at_gmap_loadmap() {
var script = document.createElement(‘script’);
script.type = ‘text/javascript’;
script.src = ‘https://maps.googleapis.com/maps/api/js?key=MY_PRIVATE_KEY_39_char’ +
‘&signed_in=true&callback=at_gmap_map_initialize’;
document.body.appendChild(script);
}March 17, 2019 at 4:29 pm #48411Brian Prince
ParticipantFYI… Google example… does not have the &v=3.exp part so I tried with and without – no luck.
src=”https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&callback=initMap”
async deferHad to remove a lot of code and other syntax… Wordfence was blocking.
March 18, 2019 at 4:16 pm #48497acmesupports
ModeratorDear Brian,
Our developer team shall observe your issue and provide you with possible solutions.Best Regards,
Rozy -
This topic was modified 4 years ago by
-
AuthorPosts
- You must be logged in to reply to this topic.