Tagged: x
-
AuthorPosts
-
October 4, 2016 at 8:09 pm #1202791
Hi Gerard,
Kindly follow the steps on this video to solve the Google Maps issue.
Hope this helps.
October 7, 2016 at 7:51 am #1206667Hi Jade,
Many thanks for sharing the Google API Tutorial above.
I used this tutorial when creating my first Google API Key, but I did watch it again, in case I missed something, first time around.
I generated another Google API Key, enabled it and applied the credential process. I tried to use it on the site, but I encountered the same problem as before. I got a JavaScript error message in the console: Google Maps API error: MissingKeyMapError.
I will send on a private message with logon details (with Administrator Privileges), the Google API Key and a screenshot of the pertinent issues.
As always, your support is greatly appreciated.
Gerard.October 7, 2016 at 7:52 am #1206668This reply has been marked as private.October 7, 2016 at 8:28 am #1206721This reply has been marked as private.October 7, 2016 at 6:23 pm #1207396Hi there,
Upon more checking, Google maps now load its own set of javascript files, example, this script is embedded alone
https://maps.googleapis.com/maps/api/js?v=3&key=AIzaSyB4TbYreAzbzCL352e9QKeE_Sr0oupwNrQ&ver=4.6.1
but once that script is executed, it will then add the new set of scripts
<script type="text/javascript" charset="UTF-8" src="https://maps.googleapis.com/maps-api-v3/api/js/25/14/common.js"></script> <script type="text/javascript" charset="UTF-8" src="https://maps.googleapis.com/maps-api-v3/api/js/25/14/map.js"></script> <script type="text/javascript" charset="UTF-8" src="https://maps.googleapis.com/maps-api-v3/api/js/25/14/util.js"></script> <script type="text/javascript" charset="UTF-8" src="https://maps.googleapis.com/maps-api-v3/api/js/25/14/onion.js"></script> <script type="text/javascript" charset="UTF-8" src="https://maps.googleapis.com/maps-api-v3/api/js/25/14/stats.js"></script> <script type="text/javascript" charset="UTF-8" src="https://maps.googleapis.com/maps-api-v3/api/js/25/14/controls.js"></script>
This is dynamically generated by google map and it bypass WordPress enqueues, hence, cornerstone isn’t able to capture them. And API Key is only local to where it’s called and those new set of scripts aren’t able to reach that API Key through the preview.
I’ll forward this bug, with new google map requirements and standard, it’s now incompatible with cornerstone.
Thanks!
October 9, 2016 at 11:16 am #1208953Hi Rad,
Many thanks for your informative response. I will await the bug fix.
Gerard
October 9, 2016 at 5:04 pm #1209149Hi there,
Sure, please stay tuned 🙂
Thanks!
-
AuthorPosts