• Resolved yanko_iliev

    (@yanko_iliev)


    Hello,
    I have a problem with the maps in Firefox browser only. The map shows normally but it keeps loading some script a long time and it says: waiting for maps.googleapis.com… and because of that bug my template menus dont load because they use javascript and are enqueued to load last in WordPress. Is there any fix for this problem or can you tell me a way to make the maps load in the wp footer with lowest priority? Thank you.
    P.s This is the best maps plugin available for WordPress. I know because i tried many ??

    https://www.ads-software.com/extend/plugins/pronamic-google-maps/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter yanko_iliev

    (@yanko_iliev)

    You can see the problem at https://go2albena.com/ It happens only in Firefox. Tested other map plugins too and they have the same problem. I am using Elegantthemes template and they told me to use this code to make the map load in footer:

    <?
    
    function my_custom_gmap(){
    
    ?>
    <script src="path/to/google/maps.js">
    </script>
    <?php
    
    }
    
    add_action('wp_footer','my_custom_gmap', 100);
    ?>

    But i am not sure how to implement it. Can you give me a hint? Thank you.

    Plugin Author Remco Tolsma

    (@remcotolsma)

    Sorry for the late reply, i don’t see the problem anymore at https://go2albena.com/, but maybe you removed/disabled the plugin. If you still have problems please let us know!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Very long maps script loading in Firefox’ is closed to new replies.