• Resolved motorbikenavi

    (@motorbikenavi)


    Hi

    Map is missing i installed plugin again and maps are not working.
    If i inspect console i can see following details..

    jQuery(document).ready(function() {
    var waymark_viewer_429a41 = window.Waymark_Map_Factory.viewer();
    waymark_viewer_429a41.fallback_latlng = [51.38436, -68.74923];
    waymark_viewer_429a41.fallback_zoom = 9;
    var waymark_config = jQuery.extend(true, {}, waymark_user_config);
    waymark_config.map_div_id = “waymark-map-429a41”;


Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter motorbikenavi

    (@motorbikenavi)

    (index):510 Uncaught ReferenceError: jQuery is not defined
    at (index):510:1

    Plugin Author Joe

    (@morehawes)

    Hi @motorbikenavi,

    Thanks for reaching out. You are receiving this error because jQuery (bundled with WordPress and required by Waymark) is not being loaded correctly by your theme.

    If you are able to edit your theme, the easiest way of resolving this would be to add the following HTML before the closing </head> element (possibly located within a file named header.php or similar. Always backup your files before making changes!):

    <script src="https://code.jquery.com/jquery-3.7.0.slim.min.js" integrity="sha256-tG5mcZUtJsZvyKAxYLVXrmjKBVLd6VpVccqz/r4ypFE=" crossorigin="anonymous"></script>

    This will load the required jQuery library.

    I hope this helps. If not, please do let me know and provide a link to where I can see this behaviour.

    Cheers,

    Joe

    Thread Starter motorbikenavi

    (@motorbikenavi)

    Hi that works, thanks for reply!

    Plugin Author Joe

    (@morehawes)

    Glad to hear that did the trick ?? Reviews appreciated!

    Cheers,

    Joe

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘map is missing’ is closed to new replies.