Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Elxis 5.5 Calypso supports 2 factor authentication login with e-mail or SMS.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
google map error
« previous
next »
Print
Pages: [
1
]
Author
Topic: google map error (Read 4507 times)
xmanhattan
Hero Member
Posts: 1235
If I'm still breathing, I'm doing something!
google map error
«
on:
April 11, 2016, 10:40:57 »
Hello all,
While preparing the website locally google map was working but after placing the site online I receive this error message:
This page was unable to display a Google Maps element. Please contact the site administrator. If you are the administrator of this site, please check the JavaScript console or check the following page for troubleshooting:
http://g.co/mapsJSApiErrors
When I first call the contact page, the map is displayed but then disappears and the error message is shown.
I changed the api key from the local host to the domain name before testing it online.
On the contact page, I inserted the following
Code:
[Select]
{map}37.9795923,23.7353258{/map}
through the source and checked it to make sure that no other html code was inserted.
I checked to see if there was any update to the content plugin google map but did not find any.
Any ideas?
Logged
Bournias.net
xmanhattan
Hero Member
Posts: 1235
If I'm still breathing, I'm doing something!
Re: google map error
«
Reply #1 on:
April 11, 2016, 10:54:58 »
I just went back to the google api and re-entered the domain name for use as
Code:
[Select]
*.domain-name.tld/*
instead of using the plain domain-name.tld and updated the api key that it changed.
It now works, unbelievable!
Logged
Bournias.net
datahell
Elxis Team
Hero Member
Posts: 10356
Re: google map error
«
Reply #2 on:
April 11, 2016, 13:20:52 »
Each map api key can be limited to a specific domain or path. asterisk is a regular expression and you must use it properly.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
google map error