Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1122764
    NLeVasseur
    Participant

    Hi there,
    I am using a plugin that requires a Google Map Java script API. I got the API, loaded it, and the map is showing.
    But, I am getting a number of warnings when viewing the console.

    So, while I’m happy that the map is finally showing, I have little confidence that they will show in the future.

    More info to follow. . .
    thanks!

    #1122774
    NLeVasseur
    Participant
    This reply has been marked as private.
    #1123221
    Rupok
    Member

    Hi Nancy,

    I can’t see any error on console for map. However if you are using any third party plugin that includes Google Map script as well; you might face this. The plugin should have have a option to disable script if that follow the best practices.

    Cheers!

    #1123782
    NLeVasseur
    Participant
    This reply has been marked as private.
    #1123883
    Thai
    Moderator

    Hi There,

    In this case, would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link login to your site
    – WordPress Admin username / Password
    – FTP Account

    Don’t forget to select Set as a private reply. This ensures your information is only visible to our staff.

    Thanks.

    #1124068
    NLeVasseur
    Participant
    This reply has been marked as private.
    #1124961
    Rupok
    Member

    Hi Nancy,

    I have taken a deeper look and the issue is same as I stated first. Note that Google Map API is already included to theme since there is map element in Cornerstone. You don’t even need to place the API Key for the plugin you are using and it will show without that. But the issue is the plugin still loading another instance of Google Map while it’s already present on theme. But a standard plugin should have option to opt-out the script by a checkbox in settings to avoid such issue. I am not saying it’s a plugin issue but certainly they are missing the option.

    If you can’t control this from plugin you can ignore this since it won’t hurt your map I believe. a

    Cheers!

    #1125522
    NLeVasseur
    Participant
    This reply has been marked as private.
    #1125801
    Christian
    Moderator

    Sorry for the confusion. Google Maps API script is only added when you use the Google Map element.

    The console errors does not come from X nor Cornerstone.

    Would you mind setting up a development server to test your plugin on another theme?

    Thanks.

    #1126603
    NLeVasseur
    Participant
    This reply has been marked as private.
    #1126828
    Rupok
    Member

    Sure Nancy. We’ll be happy assist you until you get it sorted.

    Cheers!

    #1130836
    NLeVasseur
    Participant
    This reply has been marked as private.
    #1130850
    Rupok
    Member

    Thanks for updating Nancy. Surely let us know if you need help. Hopefully it won’t affect the Map to show anyway.

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-1122764 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>