- September 2, 2016 at 12:46 am #18321etienneSeptember 2, 2016 at 12:46 amMissingKeyMapError with Google Map
I’using Google Map shortcode, like
[maps title=”ICS-Informatique” col=”one-half” height=”400″ type=”ROADMAP” zoom=”15″ address=”9 rue de l’Etoile, 75017 PARIS” lat=”48,880371″ lng=”2,287436″ controls=”off”]
but the answer of Google Map is :
“Petit problème… Une erreur s’est produite
When I have a look on the console, it says :
Any idea ?
(see it on http://www.ics-informatique.com/contact/)September 2, 2016 at 8:54 am #18322iceableSeptember 2, 2016 at 8:54 amReply to: MissingKeyMapError with Google Map
This is intriguing, I could not reproduce this error on my own site even when I copy your shortcode with the exact same parameters.
BoldR Pro demo site: http://demo.iceablethemes.com/boldr/contact-page/
A test page I’ve just created with your exact shortcode: http://demo.iceablethemes.com/boldr/maps-test/ (this one is just to show you, I’ll delete it shortly after)
If you open the console you’ll see the no API key warning, but the maps work anyway.
Do you have any third party plugin active on your site? If so can you please try to temporarily disable ALL of them and see if it works? If this doesn’t help, please let me know and I’ll help you get your own API key (that’s free and takes just a few clicks) and include it on your site. I will also run some more tests and consider including an option for users to add their own API key in the theme settings to use maps without such issues in the future.
September 2, 2016 at 9:25 am #18324iceableSeptember 2, 2016 at 9:25 amReply to: MissingKeyMapError with Google Map
- This reply was modified 1 year, 5 months ago by iceable.
Update: currently adding an option to enter a Google Maps API key (which you can get for free with just a few clicks) into the shortcode.
Will try to release a quick update for the theme including this today; I’ll let you know when it’s ready!September 2, 2016 at 10:26 am #18329etienneSeptember 2, 2016 at 10:26 amReply to: MissingKeyMapError with Google Map
Thanks for your incredibly quick answer !
The first time I used it, it was working perfectly, as shown in http://demo.iceablethemes.com/boldr/maps-test
But I did not noticed the change that broke it. I’ve tested different parameters, and it is not depending on it.
Anyway, I tried to desactivate all plugins, no change.
Thank you for your delivery of a new version including the Google Map API Key !September 2, 2016 at 2:11 pm #18345iceableSeptember 2, 2016 at 2:11 pmReply to: MissingKeyMapError with Google Map
Hi again, and thanks for trying to rule out possible causes. unfortunately why it works on some sites without api key and not on others remains a mystery, but anyway you will now be able to use an API key with BoldR Pro 1.7.13.
If you have set your license key in theme options, this update should pop in your admin dashboard.
– If your license key isn’t set yet, you’ll find it in your account and you can copy it in Appearance > Theme Options > License settings
– If the update doesn’t show up right away, you can try to force it by clicking “check again” a few times in Dashboard > Updates
Once you get the update, the maps shortcode will accept an api parameter. When using the visual shortcode it will be the first option to set in the shortcode’s window.
If you are using the editor in “text” mode, the parameter can be set like so:
[maps api="YOUR_API_KEY" etc.]
And of course, here’s a quick guide to get a Google Maps API key: https://www.iceablethemes.com/documentation/getting-an-api-key-for-google-maps/
When you get a chance to try this, could you please let me know if it works for you? Since I could not reproduce the same issue, your feedback would really help to confirm that everything is fine now!September 2, 2016 at 3:29 pm #18346etienneSeptember 2, 2016 at 3:29 pmReply to: MissingKeyMapError with Google Map
Excellent ! It work properly (but it work only if you give it GPS coordinates, with the adress, it don’t work).
(strange fact, it works properly on a second website I use it, without the Google key)
Thank for your reactivity.September 2, 2016 at 4:13 pm #18349iceableSeptember 2, 2016 at 4:13 pmReply to: MissingKeyMapError with Google Map
Thanks for your feedback, good to know you could get it to work as expected now!
I still have no idea why it works without a key on some sites and not on others (your site is actually the first one where the map didn’t work without a key!).
Also geocoding the address is done by Google Maps itself but is not 100% reliable; this is why there’s an option to use GPS coordinates instead. However I just tried again to load a map with only your address and it did work and showed the exact same location… go figure!
Anyway, what matters is that now it just works!September 2, 2016 at 4:56 pm #18352etienneSeptember 2, 2016 at 4:56 pmReply to: MissingKeyMapError with Google Map
Yes, this is the most important, as the Google cook is not really clear !
The topic ‘MissingKeyMapError with Google Map’ is closed to new replies.