• Resolved paulie77

    (@pauldeasy)


    Hi Frank,

    I love your plugin and it works amazing, I can’t believe the difference it makes !

    But I’m having a problem with my google maps when the plugin is activated, they don’t show up. I have checked the forum and can’t seem to resolve it.

    – I have added js/jquery/jquery.js to the exclusion but the problem persists.

    I know you suggest having an image of the map instead but it’s a property website and I need the maps to work.

    I have checked the console and I’m getting an error:
    Jb
    message: “initMap is not a function”
    name: “InvalidValueError”
    Stack: “Error↵ at new Jb (https://maps.googleapis.com/maps/api/js?***********

    Error
    constructor:ƒ (a)
    Db:{constructor: ƒ, name: “Error”, message: “”, toString: ƒ}
    vf:ƒ (a,c,f)
    arguments:null
    caller:null
    length:3
    name:””

    I pretty new to wordpress so I don’t know where to go from here,
    Any help would be greatly appreciated.
    Thanks,
    Paul.

    The page I need help with: [log in to see the link]

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    try adding property_location, themes/realexpert/js/property-map.js to the comma-separated JS optimization exclusion list to start with maybe? 🙂

    Thread Starter paulie77

    (@pauldeasy)

    You’re a genius !!!

    That worked great.

    Thanks you so much for the quick response and sorting out my problem.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    you’re welcome Paul, feel free to leave a review of the plugin and support here! 🙂

    Thread Starter paulie77

    (@pauldeasy)

    Hi again,

    I have another little issue, the code you gave me worked great and sorted out the problem with the map not showing on the property page. I just noticed today that the map isn’t showing on the “contact us” page. Is there another code I need to add to fix this ?

    I have this code added already:

    seal.js, js/jquery/jquery.js, property_location, themes/realexpert/js/property-map.js

    Thanks again,
    Paul

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    the map on your contact page uses a different JS-file, which you’ll have to add to that comma separated JS optimization exclusion list;

    themes/realexpert/js/contact-map.js

    hope this helps,
    frank

    Thread Starter paulie77

    (@pauldeasy)

    Hi Frank,

    I tried that and it doesn’t seem to work.

    Thanks again

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Can you copy/ paste what you have in the JS optimization exclusions now Paul? Because when looking at the HTML source of the contact-page that JS seems not excluded.

    Thread Starter paulie77

    (@pauldeasy)

    wp-content/cache/, wp-content/uploads/, admin-bar.min.css, dashicons.min.css, themes/realexpert/js/contact-map.js

    Thread Starter paulie77

    (@pauldeasy)

    sorry it’s this one frank

    seal.js, js/jquery/jquery.js, property_location, themes/realexpert/js/property-map.js, themes/realexpert/js/contact-map.js

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    that last one should work. make sure to flush your page cache(s) to allow this to propagate 🙂

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    ah, I forgot about contact_location, that also has to be added to that comma-separated field 🙂

    Thread Starter paulie77

    (@pauldeasy)

    Hi again,

    nope, still not working. I flushed cache, deleted internet history and even restarted my computer just in case.

    Is it difficult just to insert an image of the map into the contact page like you suggested to someone else ?

    Thanks again

    Thread Starter paulie77

    (@pauldeasy)

    just adding contact_location now

    Thread Starter paulie77

    (@pauldeasy)

    Hi Frank

    contact_location did it,
    thanks again Frank,
    you’re great !

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Google Maps Problem’ is closed to new replies.