Page 2 of 4

Re: Maps not shown when calling page with https

Posted: 10 Jan 2017, 15:52
by PJrN
Any help?

Re: Maps not shown when calling page with https

Posted: 10 Jan 2017, 16:21
by christine
@ PJrN,

did you also check this: https://www.phoca.cz/documents/53-phoca- ... ps-api-key
I couldn't see an API Code? After creating:
Create the API and store it. Copy it and paste it to Phoca Maps Options. Store the options. Now the map should be displayed in administration and in frontend.
Kind regards, Christine

Re: Maps not shown when calling page with https

Posted: 10 Jan 2017, 17:35
by PJrN

Re: Maps not shown when calling page with https

Posted: 12 Jan 2017, 16:14
by PJrN
Can I add the api key on the code? I need help I have like 300 pages without map.

Re: Maps not shown when calling page with https

Posted: 12 Jan 2017, 19:20
by Jan
Hi, on your site I get this warning in javascript console:

Google Maps API warning: NoApiKeys https://developers.google.com/maps/docu ... o-api-keys
util.js
Google Maps API warning: SensorNotRequired https://developers.google.com/maps/docu ... t-required

So the site does not have any API Key?

Did you follow exactly this guide:
https://www.phoca.cz/documents/53-phoca- ... ps-api-key

Jan

Re: Maps not shown when calling page with https

Posted: 12 Jan 2017, 21:11
by PJrN
I do with different gmail accounts. Can you leave me a key only some minutes to see if it is problem of the key or the plugin?

Re: Maps not shown when calling page with https

Posted: 14 Jan 2017, 12:05
by PJrN
I continue with the problem. I have like 300 pages with map. How can I fix? It's not api key error, it is like the component don't take the api.

Re: Maps not shown when calling page with https

Posted: 15 Jan 2017, 20:49
by christine
Hi,

there are still warnings in javascript console as Jan already wrote. See screenshot: http://imgur.com/kBojh3b

When checking the source code of 1 URL (previous post) I'm missing something like this:
....
//]]></script>
<script async defer src="https://maps.googleapis.com/maps/api/js ... y53&[b]key[/b]=here is the key" type="text/javascript"></script>
Check also again correct referrers addr etc. https://www.phoca.cz/documents/53-phoca- ... ps-api-key

Kind regards, Christine

Re: Maps not shown when calling page with https

Posted: 15 Jan 2017, 20:59
by PJrN
I say again, it's like the component don't write the api. I put in phoca maps options but the component doesn't load the api.

Re: Maps not shown when calling page with https

Posted: 17 Jan 2017, 12:23
by Jan
Hi, the problem is, Google server does not get API.

What you exactly mean with "component don't write the API"? If you store the API key in component administration, it is not stored? (when saving, then the API key field is empty?)

Jan