Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author webaware

    (@webaware)

    G’day Josh,

    Link please?

    cheers,
    Ross

    Thread Starter Josh Smith

    (@joshsmith01)

    Ross,

    I am using it on a local build. It is not live. I am running MAMP and developing through Coda2. I have full internet access through the built-in browser.

    I don’t have a link to share. Sorry.

    -Josh

    Plugin Author webaware

    (@webaware)

    Have you checked for JavaScript errors logged in the browser console? Can you see some HTML markup and JavaScript for the map if you view source in your browser?

    cheers,
    Ross

    Thread Starter Josh Smith

    (@joshsmith01)

    I am getting errors. Here is the image in of the console errors.

    I am not sure what you want me to relay to you.

    ‘Uncaught ReferenceError: google is not defined
    FlexibleMap (anonymous function)’

    Plugin Author webaware

    (@webaware)

    G’day Josh,

    Something is stripping the domain off your Google Maps API script, and replacing it with your localhost address. It should be this:

    https://maps.google.com/maps/api/js?v=3.11&sensor=false

    but you’re getting this:

    https://localhost:8888/maps/api/js?v=3.11&sensor=false

    That ain’t gonna work ??

    cheers,
    Ross

    Thread Starter Josh Smith

    (@joshsmith01)

    That worked. As soon as I read that url’s were being changed. I immediately remembered that I had another plugin running to change my local urls to root urls once I moved my site to its home on the server.

    I deactivated that Root Relative URL plugin and all is well. I am sure there is a blacklist for URLs that it shouldn’t touch. I want to run both of the plugins but it looks like there is some conflict resolution that I need to take care of.

    For now, your plugin ( and Jetpack ) now work flawlessly. Nice tip on the URLs.

    -Josh

    Plugin Author webaware

    (@webaware)

    G’day Josh,

    For developing locally and deploying to another server, you might be interested in this plugin: WP Migrate DB. It converts URLs and file paths from your local to your destination (or from live to local) when it generates the SQL file for the database. The Pro version is well worth the money too, but even the free version is good.

    cheers,
    Ross

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Map not displaying’ is closed to new replies.