I’ve read heaps of articles online on how to get this to work, but still nothing.
I have a theme for my WordPress site and I want to include a map. Downloaded a plugin, requested a Google Maps API key, entered the API key in the plugin (in wordpress), copied and pasted the short code into a text block element within visual composer – the following appears on the page:
This appears in the console:
Uncaught TypeError: Cannot read property 'prototype' of undefined at common.js:41 at Object._.bb (js:35) at a (common.js:41) at Wm (common.js:41) at common.js:44 at Lm.Wm (common.js:187) at Object.c [as _1dvvf] (common.js:39) at maps.googleapis.com/maps/api/js/Auth.......
Uncaught TypeError: Cannot read property 'toUrlValue' of undefined at Array.<anonymous> (common.js:166) at js:109 at js:50 at js:109 at Tc (js:52) at Sc.Za (js:109) at maps.googleapis.com/maps-api-v3/api/js/28/10/stats.js:1
How can I get the map to show up??
Read more here: Google Maps plugin not working on WordPress site