Tagged: x
-
AuthorPosts
-
August 4, 2016 at 1:04 pm #1117619
watersmartinnovationsParticipantI’m getting an error when trying to use the google map shortcode.
August 4, 2016 at 1:06 pm #1117626
watersmartinnovationsParticipantThis reply has been marked as private.August 4, 2016 at 3:57 pm #1117862
DarshanaModeratorHi there,
Thanks for writing in! As you may aware, there were some changes introduced to Google Map API by Google, so that is why it will require an API key.
Google Map API key field is now available in Cornerstone (see http://theme.co/changelog/#cornerstone-1-3-0).
Upon checking your site, I see the following errors on web console error log.
MissingKeyMapError NoApiKeysPlease refer to their guide here (https://developers.google.com/maps/documentation/javascript/error-messages) on how to resolve those issue.
Hope that helps.
August 4, 2016 at 11:51 pm #1118437
watersmartinnovationsParticipantThis reply has been marked as private.August 5, 2016 at 2:08 am #1118545
FriechModeratorHi There,
Are you using the shortcode?
Please update that to this:
[x_google_map api_key="YOUR-API-KEY-HERE" lat="37.8069572" lng="-122.4161852" zoom="17" zoom_control="false" drag="true" height="60%" hue="false" no_container="false" ][x_google_map_marker lat="37.806688" lng="-122.419036" start_open="false" info="" image=""][x_google_map_marker lat="37.806578" lng="-122.414230" start_open="false" info="" image=""][/x_google_map]See the YOUR-API-KEY-HERE string? Replace that with your own actual API key.
And remove that code you added on the child theme’s functions.php file.
Hope it helps, Cheers!
August 5, 2016 at 10:30 am #1118976
watersmartinnovationsParticipantThat worked. Thank you
August 5, 2016 at 2:12 pm #1119265
Prasant RaiModeratorYou are most welcome. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1117619 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
